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
1f8e56311e
commit
babfbd5e28
|
@ -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