diff --git a/cmake/BornAgain/Dependences.cmake b/cmake/BornAgain/Dependences.cmake index 849b6c9abaf270db9d54d26486adfb711c0407c4..a32b0a8749e873e135390023a85fe9bdfbaa79fc 100644 --- a/cmake/BornAgain/Dependences.cmake +++ b/cmake/BornAgain/Dependences.cmake @@ -55,6 +55,8 @@ set(Boost_USE_MULTITHREADED ON) set(Boost_USE_STATIC_RUNTIME OFF) 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 +add_definitions(-DBOOST_BIMAP_DISABLE_SERIALIZATION) # Boost component libraries (do not list headers here) set(boost_libraries_required iostreams program_options)