From: Markus Frosch Date: Thu, 4 Apr 2019 10:11:15 +0000 (+0200) Subject: windows: Remove the flag to disable auto linking X-Git-Tag: v2.11.0-rc1~160^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53bb10c2f2f7684768d99de7da034039ad9e04a4;p=icinga2 windows: Remove the flag to disable auto linking --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 888b462a3..dc71122da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -110,7 +110,8 @@ endif() if(WIN32) set(Boost_USE_STATIC_LIBS ON) - add_definitions(-DBOOST_ALL_NO_LIB) + # Disabled for linking issues for newer Boost versions, they link against Windows SDKs + #add_definitions(-DBOOST_ALL_NO_LIB) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /bigobj") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj") endif()