mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
Got rid of false warning for empty opm_common_DIR.
This commit is contained in:
+2
-3
@@ -42,12 +42,11 @@ if(SIBLING_SEARCH AND NOT opm-common_DIR)
|
||||
set(opm-common_DIR "${_parent_full_dir}/opm-common}")
|
||||
endif()
|
||||
endif()
|
||||
else()
|
||||
if(NOT IS_DIRECTORY ${opm-common_DIR})
|
||||
endif()
|
||||
if(opm-common_DIR AND 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 REQUIRED)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user