Skip to content

Commit

Permalink
fixed: make sure opm-common can be (re-)found
Browse files Browse the repository at this point in the history
  • Loading branch information
akva2 committed Sep 16, 2015
1 parent 44c3c91 commit bad0392
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit bad0392

Please sign in to comment.