Moved the GLEW dependencies from libslic3r to the gui slic3r library.
This commit is contained in:
parent
349e30a39c
commit
33ef1173a7
2 changed files with 1 additions and 2 deletions
|
@ -189,7 +189,6 @@ target_link_libraries(libslic3r
|
||||||
clipper
|
clipper
|
||||||
nowide
|
nowide
|
||||||
${EXPAT_LIBRARIES}
|
${EXPAT_LIBRARIES}
|
||||||
${GLEW_LIBRARIES}
|
|
||||||
glu-libtess
|
glu-libtess
|
||||||
polypartition
|
polypartition
|
||||||
poly2tri
|
poly2tri
|
||||||
|
|
|
@ -154,7 +154,7 @@ endif ()
|
||||||
|
|
||||||
add_library(libslic3r_gui STATIC ${SLIC3R_GUI_SOURCES})
|
add_library(libslic3r_gui STATIC ${SLIC3R_GUI_SOURCES})
|
||||||
|
|
||||||
target_link_libraries(libslic3r_gui libslic3r avrdude imgui)
|
target_link_libraries(libslic3r_gui libslic3r avrdude imgui ${GLEW_LIBRARIES})
|
||||||
if (SLIC3R_PCH AND NOT SLIC3R_SYNTAXONLY)
|
if (SLIC3R_PCH AND NOT SLIC3R_SYNTAXONLY)
|
||||||
add_precompiled_header(libslic3r_gui pchheader.hpp FORCEINCLUDE)
|
add_precompiled_header(libslic3r_gui pchheader.hpp FORCEINCLUDE)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
Loading…
Reference in a new issue