1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/math/SoPlex/files/patch-src_CMakeLists.txt
Yuri Victorovich 9a8aa34b7b math/SoPlex: Update 3.1.1 -> 4.0.0
Also bump math/SCIP.

Reported by:	portscout
2018-07-03 09:57:52 +00:00

21 lines
915 B
Plaintext

--- 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})