diff --git a/CMakeLists.txt b/CMakeLists.txt index b7ccda3793..4ca867cd5c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -382,7 +382,7 @@ if(NANO_SHARED_BOOST) set(Boost_USE_STATIC_LIBS OFF) set(Boost_USE_STATIC_RUNTIME OFF) set(Boost_NO_BOOST_CMAKE ON) - add_definitions(-DBOOST_ALL_DYN_LINK -DBoost_ALL_NO_LIB) + add_definitions(-DBOOST_ALL_DYN_LINK) else() set(Boost_USE_STATIC_LIBS ON) endif()