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