We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f114607 commit 7676778Copy full SHA for 7676778
1 file changed
builds/cmake/CMakeLists.txt
@@ -98,6 +98,12 @@ if (BUILD_SHARED_LIBS)
98
add_definitions( -DBOOST_ALL_DYN_LINK )
99
endif()
100
101
+if (BUILD_SHARED_LIBS)
102
+ set( Boost_USE_STATIC_LIBS "off" )
103
+else()
104
+ set( Boost_USE_STATIC_LIBS "on" )
105
+endif()
106
+
107
# Find boost
108
#------------------------------------------------------------------------------
109
find_package( Boost 1.72.0 REQUIRED COMPONENTS
0 commit comments