From 2a653ab51ad220aa7cf200ec88a326ccabcaf01a Mon Sep 17 00:00:00 2001 From: Roland Kaufmann Date: Sun, 25 Nov 2012 20:38:55 +0100 Subject: [PATCH] Link with DUNE if available --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eca6861a..1515d805 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,6 +36,9 @@ find_and_append_package (Boost 1.39.0 COMPONENTS date_time filesystem system unit_test_framework REQUIRED) include (UseDynamicBoost) +# DUNE dependency +find_and_append_package (dune-istl) + # put libraries in lib/ set (CMAKE_LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/lib") @@ -53,7 +56,6 @@ list (REMOVE_ITEM opm-core_SOURCES # we don't try to find any of these set (HAVE_AGMG 0) -set (HAVE_DUNE_ISTL 0) set (HAVE_ERT) # create configuration header which describes available features