mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Added warning if opm-common_DIR is not an existing directory.
This commit is contained in:
@@ -41,6 +41,11 @@ if(NOT OPM_COMMON_ROOT)
|
|||||||
set(opm-common_DIR "${_parent_full_dir}/opm-common}")
|
set(opm-common_DIR "${_parent_full_dir}/opm-common}")
|
||||||
endif()
|
endif()
|
||||||
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()
|
endif()
|
||||||
find_package(opm-common QUIET)
|
find_package(opm-common QUIET)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user