diff --git a/opm/parser/eclipse/CMakeLists.txt b/opm/parser/eclipse/CMakeLists.txt index 7e02e4b36..f2a300605 100644 --- a/opm/parser/eclipse/CMakeLists.txt +++ b/opm/parser/eclipse/CMakeLists.txt @@ -202,7 +202,7 @@ Utility/EndscaleWrapper.hpp Utility/ScalecrsWrapper.hpp ) -add_library(buildParser ${rawdeck_source} ${build_parser_source} ${deck_source} ${unit_source}) +add_library(buildParser STATIC ${rawdeck_source} ${build_parser_source} ${deck_source} ${unit_source}) target_link_libraries(buildParser opm-json ${Boost_LIBRARIES}) #-----------------------------------------------------------------