Skip to content

Commit 1c2f9f0

Browse files
ktfawegrzyn
authored andcommitted
Force shared libraries (#155)
1 parent 2fa846d commit 1c2f9f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
####################################
44

55
CMAKE_MINIMUM_REQUIRED(VERSION 3.5.2 FATAL_ERROR)
6+
set(Boost_USE_STATIC_RUNTIME OFF)
7+
set(Boost_USE_STATIC_LIBS OFF)
8+
set(BUILD_SHARED_LIBS ON)
69

710
# Set cmake policy by version: https://cmake.org/cmake/help/latest/manual/cmake-policies.7.html
811
if(${CMAKE_VERSION} VERSION_LESS 3.12)

0 commit comments

Comments
 (0)