Merge pull request #479 from akva2/fix_sibling_builds

fixed: make sure opm-common can be (re-)found
This commit is contained in:
Atgeirr Flø Rasmussen 2015-09-16 16:30:56 +02:00
commit 57840a3153

View File

@ -26,6 +26,8 @@ endif()
if (opm-common_FOUND)
include(OpmInit)
else()
unset(opm-common_FOUND)
if (NOT OPM_COMMON_ROOT AND SIBLING_SEARCH)
set(OPM_COMMON_ROOT ${PROJECT_SOURCE_DIR}/../opm-common)
endif()