mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
Submitted by: myself Approved by: adamw (mentor) Differential Revision: https://reviews.freebsd.org/D13613
27 lines
1.2 KiB
Text
27 lines
1.2 KiB
Text
--- src/CMakeLists.txt.orig 2017-09-04 15:08:47 UTC
|
|
+++ src/CMakeLists.txt
|
|
@@ -159,20 +159,20 @@ set(headers
|
|
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}
|
|
SOVERSION ${SOPLEX_VERSION_MAJOR}.${SOPLEX_VERSION_MINOR})
|
|
-add_dependencies(libsoplex-pic soplex_update_githash)
|
|
+#add_dependencies(libsoplex-pic soplex_update_githash)
|
|
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})
|
|
-add_dependencies(libsoplex soplex_update_githash)
|
|
+#add_dependencies(libsoplex soplex_update_githash)
|
|
target_link_libraries(libsoplex ${libs})
|
|
|
|
# create soplex binary using library without pic
|