From 777bcf58655bb3238fedaf2d572c6f3638c61c97 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Fri, 2 Mar 2018 18:14:19 +0100 Subject: [PATCH 1/2] Enabled Boost_DEBUG in CMake to get some debug info when something goes wrong. --- xs/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/xs/CMakeLists.txt b/xs/CMakeLists.txt index caabeab6b..403d59182 100644 --- a/xs/CMakeLists.txt +++ b/xs/CMakeLists.txt @@ -475,6 +475,7 @@ if(SLIC3R_STATIC) # Use boost libraries linked statically to the C++ runtime. # set(Boost_USE_STATIC_RUNTIME ON) endif() +set(Boost_DEBUG ON) find_package(Boost REQUIRED COMPONENTS system filesystem thread log locale regex) if(Boost_FOUND) include_directories(${Boost_INCLUDE_DIRS}) From ed7c02d578ae329dcd8327222a99ea09a93e102a Mon Sep 17 00:00:00 2001 From: bubnikv Date: Fri, 2 Mar 2018 23:11:57 +0100 Subject: [PATCH 2/2] Disabled the CMake BOOST debugging. --- xs/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs/CMakeLists.txt b/xs/CMakeLists.txt index 403d59182..35d1fc7de 100644 --- a/xs/CMakeLists.txt +++ b/xs/CMakeLists.txt @@ -475,7 +475,7 @@ if(SLIC3R_STATIC) # Use boost libraries linked statically to the C++ runtime. # set(Boost_USE_STATIC_RUNTIME ON) endif() -set(Boost_DEBUG ON) +#set(Boost_DEBUG ON) find_package(Boost REQUIRED COMPONENTS system filesystem thread log locale regex) if(Boost_FOUND) include_directories(${Boost_INCLUDE_DIRS})