Skip to content

Commit

Permalink
OPM-139: Linked in small ert library ecl_well to be used in unitttest…
Browse files Browse the repository at this point in the history
… test_writenumwells.cpp
  • Loading branch information
chflo authored and bska committed Dec 8, 2014
1 parent e42bf72 commit a06ed73
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cmake/Modules/FindERT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@ find_library (ERT_LIBRARY_ECL
DOC "Path to ERT Eclipse library archive/shared object files"
${_no_default_path}
)
find_library (ERT_LIBRARY_ECL_WELL
NAMES "ecl_well"
HINTS "${ERT_ROOT}"
PATHS "${PROJECT_BINARY_DIR}/../ert" "${PROJECT_BINARY_DIR}/../ert-build"
"${PROJECT_BINARY_DIR}/../ert/devel"
PATH_SUFFIXES "lib" "lib${_BITS}" "lib/${CMAKE_LIBRARY_ARCHITECTURE}"
DOC "Path to ERT Eclipse library archive/shared object files"
${_no_default_path}
)
find_library (ERT_LIBRARY_GEOMETRY
NAMES "ert_geometry"
HINTS "${ERT_ROOT}"
Expand All @@ -95,6 +104,7 @@ list (APPEND ERT_INCLUDE_DIR
)
list (APPEND ERT_LIBRARY
${ERT_LIBRARY_ECL}
${ERT_LIBRARY_ECL_WELL}
${ERT_LIBRARY_GEOMETRY}
${ERT_LIBRARY_UTIL}
)
Expand Down

0 comments on commit a06ed73

Please sign in to comment.