From 94d22d3c03c6aa7453a585f033ff21ca000c765d 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 db2d4c90..8d7dccb5 100644 --- a/cmake/Modules/Finddune-alugrid.cmake +++ b/cmake/Modules/Finddune-alugrid.cmake @@ -34,10 +34,8 @@ find_opm_package ( "" # test program -"#include +"#include int main (void) { - Dune::ALUGrid grid; - grid.leafGridView().size(/*codim=*/0); return 0; } "