summaryrefslogtreecommitdiff
path: root/math/xlife++/files/patch-CMakeLists.txt
blob: fedd2a0e76f298eefe09c2909d3df816ba82be2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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()