We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a38c8c commit cf1873bCopy full SHA for cf1873b
1 file changed
builds/cmake/CMakeLists.txt
@@ -114,6 +114,12 @@ if (BUILD_SHARED_LIBS)
114
add_definitions( -DBOOST_ALL_DYN_LINK )
115
endif()
116
117
+if (BUILD_SHARED_LIBS)
118
+ set( Boost_USE_STATIC_LIBS "off" )
119
+else()
120
+ set( Boost_USE_STATIC_LIBS "on" )
121
+endif()
122
+
123
# Find boost
124
#------------------------------------------------------------------------------
125
find_package( Boost 1.72.0 REQUIRED COMPONENTS
0 commit comments