Merge pull request #885 from akva2/fix_sibling_builds
fixed: make sure opm-common can be (re-)found
This commit is contained in:
commit
2f15b4f32d
@ -27,6 +27,8 @@ endif()
|
|||||||
if (opm-common_FOUND)
|
if (opm-common_FOUND)
|
||||||
include(OpmInit)
|
include(OpmInit)
|
||||||
else()
|
else()
|
||||||
|
unset(opm-common_FOUND)
|
||||||
|
|
||||||
if (NOT OPM_COMMON_ROOT AND SIBLING_SEARCH)
|
if (NOT OPM_COMMON_ROOT AND SIBLING_SEARCH)
|
||||||
set(OPM_COMMON_ROOT ${PROJECT_SOURCE_DIR}/../opm-common)
|
set(OPM_COMMON_ROOT ${PROJECT_SOURCE_DIR}/../opm-common)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user