Merge pull request #362 from akva2/fix_shared_libs

Fix shared libs
This commit is contained in:
Joakim Hove 2014-11-17 16:28:38 +01:00
commit 84f49e6e92

View File

@ -51,6 +51,7 @@ SET_SOURCE_FILES_PROPERTIES(${PROJECT_BINARY_DIR}/generated-source/DefaultKeywor
set( build_parser_source set( build_parser_source
Parser/ParserEnums.cpp Parser/ParserEnums.cpp
Parser/ParserKeyword.cpp Parser/ParserKeyword.cpp
Parser/ParserLog.cpp
Parser/ParserRecord.cpp Parser/ParserRecord.cpp
Parser/ParserItem.cpp Parser/ParserItem.cpp
Parser/ParserIntItem.cpp Parser/ParserIntItem.cpp
@ -201,7 +202,7 @@ Utility/EndscaleWrapper.hpp
Utility/ScalecrsWrapper.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}) target_link_libraries(buildParser opm-json ${Boost_LIBRARIES})
#----------------------------------------------------------------- #-----------------------------------------------------------------