Skip to content
Snippets Groups Projects

CMake Boost: suppress annoying and pointless warnings

Merged Wuttke, Joachim requested to merge j.10 into main
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -67,6 +67,7 @@ set(Boost_NO_BOOST_CMAKE ON) # prevent shortcut
set(Boost_USE_STATIC_LIBS OFF)
set(Boost_USE_MULTITHREADED ON)
set(Boost_USE_STATIC_RUNTIME OFF)
set(Boost_NO_WARN_NEW_VERSIONS ON) # suppress annoying and pointless warnings
add_definitions(-DBOOST_ALL_DYN_LINK) # line is needed for MSVC
add_definitions(-DBOOST_UUID_FORCE_AUTO_LINK) # line is needed to link bcrypt for MSVC
# amends problems with bimap and MSVC, serialization of bimap is currently not needed
Loading