Move slic3r_gui link higher in the chain (as it relies on libslic3r).

This commit is contained in:
Joseph Lenox 2018-04-29 10:08:38 -05:00
parent bd6fe7114a
commit 3fda71e5dd

View File

@ -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