diff --git a/CMakeLists.txt b/CMakeLists.txt index cb609815..6ce04482 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -141,7 +141,8 @@ add_definitions (-DBOOST_ASIO_DISABLE_BOOST_REGEX=1) add_definitions (-DBOOST_COROUTINES_NO_DEPRECATION_WARNING=1) if (MSVC) -include_directories (${BOOST_ROOT}) + include_directories (${BOOST_ROOT}) + link_libraries( bcrypt.lib ) else() set(BOOST_INCLUDEDIR ${BOOST_ROOT}) set(BOOST_LIBRARYDIR ${BOOST_ROOT}/stage/lib)