diff --git a/CMakeLists.txt b/CMakeLists.txt index 92f4d84b7..b7e55e8a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,6 +80,9 @@ include (CMakeLists_files.cmake) macro (config_hook) opm_need_version_of ("dune-common") opm_need_version_of ("dune-istl") + if(dune-fem_FOUND) + opm_need_version_of ("dune-fem") + endif() opm_need_version_of ("opm-models") endmacro (config_hook)