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:
Markus Blatt 2017-09-15 13:53:28 +02:00
parent e59084c540
commit f6db28eb5d

View File

@ -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)