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...
This commit is contained in:
parent
e9eb1b8b61
commit
94d22d3c03
@ -34,10 +34,8 @@ find_opm_package (
|
|||||||
""
|
""
|
||||||
|
|
||||||
# test program
|
# test program
|
||||||
"#include <dune/alugrid/grid.hh>
|
"#include <dune/alugrid/2d/indexsets.hh>
|
||||||
int main (void) {
|
int main (void) {
|
||||||
Dune::ALUGrid</*dim=*/2, /*dimWorld=*/2, Dune::simplex, Dune::nonconforming> grid;
|
|
||||||
grid.leafGridView().size(/*codim=*/0);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user