From 2bb5159a9718e80732d5508a0acb913d709437e9 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Fri, 12 Dec 2014 14:29:04 +0100 Subject: [PATCH] FindAlugrid.cmake: do not try to include the whole grid first this makes the test very slow, second (and more importantly) it makes the test fail on dune master as the header relies on the presence of the DUNE_GRID_VERSION* macros which are not present at the configure stage of the build... --- cmake/Modules/Finddune-alugrid.cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmake/Modules/Finddune-alugrid.cmake b/cmake/Modules/Finddune-alugrid.cmake index f2199a098..bb879fc96 100644 --- a/cmake/Modules/Finddune-alugrid.cmake +++ b/cmake/Modules/Finddune-alugrid.cmake @@ -35,10 +35,8 @@ find_opm_package ( "" # test program -"#include +"#include int main (void) { - Dune::ALUGrid grid; - grid.leafGridView().size(/*codim=*/0); return 0; } "