mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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
9c4161bbdb
commit
2bb5159a97
@ -35,10 +35,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