mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 18:50:19 -06:00
Added deprecation warning if OPM_COMMON_ROOT is used
This commit is contained in:
parent
b2c6092127
commit
e59084c540
@ -53,6 +53,11 @@ endif()
|
||||
if (opm-common_FOUND)
|
||||
include(OpmInit)
|
||||
else()
|
||||
if(OPM_COMMON_ROOT)
|
||||
message(WARNING "Setting OPM_COMMON_ROOT is deprecated. Please either "
|
||||
"set opm-common_DIR instead or rely on sibling build")
|
||||
endif()
|
||||
|
||||
unset(opm-common_FOUND)
|
||||
|
||||
if (NOT OPM_COMMON_ROOT AND SIBLING_SEARCH)
|
||||
|
Loading…
Reference in New Issue
Block a user