mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixed: wrong order of OpmInit and use of the USE_MPI option
This commit is contained in:
parent
fc06fc77c3
commit
1ac2263bfb
@ -91,13 +91,13 @@ endif()
|
|||||||
|
|
||||||
find_package(opm-common REQUIRED)
|
find_package(opm-common REQUIRED)
|
||||||
|
|
||||||
|
include(OpmInit)
|
||||||
|
OpmSetPolicies()
|
||||||
|
|
||||||
if(USE_MPI)
|
if(USE_MPI)
|
||||||
set(HDF5_PREFER_PARALLEL TRUE)
|
set(HDF5_PREFER_PARALLEL TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include(OpmInit)
|
|
||||||
OpmSetPolicies()
|
|
||||||
|
|
||||||
# not the same location as most of the other projects? this hook overrides
|
# not the same location as most of the other projects? this hook overrides
|
||||||
macro (dir_hook)
|
macro (dir_hook)
|
||||||
endmacro (dir_hook)
|
endmacro (dir_hook)
|
||||||
|
Loading…
Reference in New Issue
Block a user