From 3fda71e5ddc114f94fa0d7cc63fea723f6bd071d Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sun, 29 Apr 2018 10:08:38 -0500 Subject: [PATCH] Move slic3r_gui link higher in the chain (as it relies on libslic3r). --- src/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a28bb833f..e1190ee54 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -162,7 +162,6 @@ IF(CMAKE_HOST_UNIX) #set(Boost_LIBRARIES bsystem bthread bfilesystem) ENDIF(CMAKE_HOST_UNIX) -target_link_libraries (slic3r libslic3r admesh BSpline clipper expat polypartition poly2tri ${Boost_LIBRARIES}) IF(wxWidgets_FOUND) MESSAGE("wx found!") @@ -198,6 +197,8 @@ ELSE(wxWidgets_FOUND) #skip gui when no wx included ENDIF(wxWidgets_FOUND) +target_link_libraries (slic3r libslic3r admesh BSpline clipper expat polypartition poly2tri ZipArchive ${Boost_LIBRARIES}) + # Windows needs a compiled component for Boost.nowide IF (WIN32) add_library(boost-nowide STATIC