mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 22:54:08 -06:00
Build: Don't add imgui dir when SLIC3R_GUI is off
This commit is contained in:
parent
2088abdc31
commit
e9d629f248
1 changed files with 2 additions and 1 deletions
|
@ -12,7 +12,6 @@ add_subdirectory(poly2tri)
|
|||
add_subdirectory(qhull)
|
||||
add_subdirectory(Shiny)
|
||||
add_subdirectory(semver)
|
||||
add_subdirectory(imgui)
|
||||
|
||||
# Adding libnest2d project for bin packing...
|
||||
set(LIBNEST2D_UNITTESTS ON CACHE BOOL "Force generating unittests for libnest2d")
|
||||
|
@ -24,6 +23,8 @@ include_directories(${LIBDIR}/qhull/src)
|
|||
add_subdirectory(libslic3r)
|
||||
|
||||
if (SLIC3R_GUI)
|
||||
add_subdirectory(imgui)
|
||||
|
||||
if(WIN32)
|
||||
message(STATUS "WXWIN environment set to: $ENV{WXWIN}")
|
||||
elseif(UNIX)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue