From bad039289ffc770a9db7a6c6cb822adf3a2132bd Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 16 Sep 2015 14:23:50 +0200 Subject: [PATCH] fixed: make sure opm-common can be (re-)found see https://github.com/OPM/opm-common/issues/40#issuecomment-140720316 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f8248b5..1de482f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,6 +27,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()