diff --git a/CMakeLists.txt b/CMakeLists.txt index 971666e9e8..716a3f2d12 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,8 +53,10 @@ include (ResInsightVersion.cmake) # Disable install of ERT libs and headers, as Ert code is compiled and linked directly SET(INSTALL_ERT OFF CACHE BOOL "ERT: Install library") +SET(BUILD_SHARED_LIBS OFF CACHE BOOL "ERT: Build shared libraries") SET(ERT_USE_OPENMP ${OPENMP_FOUND} CACHE BOOL "ERT: Compile using OpenMP") + add_subdirectory(ThirdParty/Ert/devel) include_directories(