ports/math/xlife++/files/patch-CMakeLists.txt
Yuri Victorovich 0df7f81ad0 math/xlife++: Update 2.0.1 → 2.3
Reported by:	portscout
2023-07-05 10:14:32 -07:00

11 lines
404 B
Text

--- CMakeLists.txt.orig 2022-04-22 18:54:13 UTC
+++ CMakeLists.txt
@@ -334,7 +334,7 @@ endif()
set(XLIFEPP_LIBS "")
foreach (lib ${libs})
file(GLOB_RECURSE libsrcs src/${lib}/*.cpp)
- add_library(xlifepp_${lib} STATIC ${libsrcs})
+ add_library(xlifepp_${lib} SHARED ${libsrcs})
target_compile_features(xlifepp_${lib} PUBLIC cxx_std_11)
list(APPEND XLIFEPP_LIBS xlifepp_${lib})
endforeach()