summaryrefslogtreecommitdiff
path: root/math/sisl/files/patch-CMakeLists.txt
blob: 27e2523062c30ee499fe014386b81b1c298dfbc0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- CMakeLists.txt.orig	2019-12-08 17:10:19 UTC
+++ CMakeLists.txt
@@ -16,7 +16,7 @@ INCLUDE_DIRECTORIES(
 # Make the sisl library
 
 FILE(GLOB sisl_SRCS src/*.c include/*.h)
-ADD_LIBRARY(sisl ${sisl_SRCS})
+ADD_LIBRARY(sisl SHARED ${sisl_SRCS})
 IF(CMAKE_COMPILER_IS_GNUCC)
     TARGET_LINK_LIBRARIES(sisl m)
 ENDIF(CMAKE_COMPILER_IS_GNUCC)