mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-07-07 04:53:03 -05:00
Added warning if opm-common_DIR is not an existing directory.
This commit is contained in:
parent
149d531c68
commit
b2c6092127
|
@ -41,6 +41,11 @@ if(NOT OPM_COMMON_ROOT)
|
|||
set(opm-common_DIR "${_parent_full_dir}/opm-common}")
|
||||
endif()
|
||||
endif()
|
||||
else()
|
||||
if(NOT IS_DIRECTORY ${opm-common_DIR})
|
||||
message(WARNING "Value ${opm-common_DIR} passed to variable"
|
||||
" opm-common_DIR is not a directory")
|
||||
endif()
|
||||
endif()
|
||||
find_package(opm-common QUIET)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue
Block a user