--- src/CMakeLists.txt.orig 2018-07-03 09:33:09 UTC +++ src/CMakeLists.txt @@ -158,7 +158,7 @@ set(headers soplex/wallclocktimer.h) # create soplex library with pic - add_library(libsoplex-pic STATIC ${sources}) + add_library(libsoplex-pic SHARED ${sources}) set_target_properties(libsoplex-pic PROPERTIES POSITION_INDEPENDENT_CODE on VERSION ${SOPLEX_VERSION_MAJOR}.${SOPLEX_VERSION_MINOR}.${SOPLEX_VERSION_PATCH}.${SOPLEX_VERSION_SUB} @@ -167,7 +167,7 @@ add_dependencies(libsoplex-pic soplex_up target_link_libraries(libsoplex-pic ${libs}) # create soplex library without pic -add_library(libsoplex STATIC ${sources}) +add_library(libsoplex SHARED ${sources}) set_target_properties(libsoplex PROPERTIES VERSION ${SOPLEX_VERSION_MAJOR}.${SOPLEX_VERSION_MINOR}.${SOPLEX_VERSION_PATCH}.${SOPLEX_VERSION_SUB} SOVERSION ${SOPLEX_VERSION_MAJOR}.${SOPLEX_VERSION_MINOR})