From 53bb10c2f2f7684768d99de7da034039ad9e04a4 Mon Sep 17 00:00:00 2001 From: Markus Frosch Date: Thu, 4 Apr 2019 12:11:15 +0200 Subject: [PATCH] windows: Remove the flag to disable auto linking --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()