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