diff --git a/cmake/BornAgain/Dependences.cmake b/cmake/BornAgain/Dependences.cmake index 502f72e67a524614225a0238c4e54abe8bf17f6f..b0526b8cc42ebab62c56d16befc769533c38b23b 100644 --- a/cmake/BornAgain/Dependences.cmake +++ b/cmake/BornAgain/Dependences.cmake @@ -27,6 +27,7 @@ set(Boost_USE_STATIC_LIBS OFF) 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 # Boost component libraries (do not list headers here) set(boost_libraries_required filesystem iostreams program_options)