From d7f1c8670f6a26792008baaeaf638bf051f963ab Mon Sep 17 00:00:00 2001 From: bubnikv Date: Wed, 19 Sep 2018 17:55:17 +0200 Subject: [PATCH] Removed wrong dependency on wxWidgets from libslic3r. Added cmake message for WXWIN environment variable. --- src/CMakeLists.txt | 1 + src/libslic3r/GCode/PreviewData.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d2b79ae78..cf37a82c9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -64,6 +64,7 @@ endif () # Add the Slic3r GUI library, libcurl, OpenGL and GLU libraries. if (SLIC3R_GUI) + message(STATUS "WXWIN environment set to: $ENV{WXWIN}") find_package(wxWidgets REQUIRED COMPONENTS base core adv html gl) include(${wxWidgets_USE_FILE}) diff --git a/src/libslic3r/GCode/PreviewData.cpp b/src/libslic3r/GCode/PreviewData.cpp index 9cf9716e0..564fc34dc 100644 --- a/src/libslic3r/GCode/PreviewData.cpp +++ b/src/libslic3r/GCode/PreviewData.cpp @@ -1,7 +1,6 @@ #include "Analyzer.hpp" #include "PreviewData.hpp" #include -#include #include #include