mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-29 10:40:59 -06:00
Changed find_package call to require opm-common.
Previously, QUIET was passed to opm-common which would not even print a message if there is a problem. Now cmake will fail if OPM_COMMON_ROOT is not set, and neither guessing opm_common_DIR did work nor searching in the default locations.
This commit is contained in:
parent
e59084c540
commit
f6db28eb5d
@ -47,7 +47,7 @@ if(NOT OPM_COMMON_ROOT)
|
||||
" opm-common_DIR is not a directory")
|
||||
endif()
|
||||
endif()
|
||||
find_package(opm-common QUIET)
|
||||
find_package(opm-common REQUIRED)
|
||||
endif()
|
||||
|
||||
if (opm-common_FOUND)
|
||||
|
Loading…
Reference in New Issue
Block a user