mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -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(qhull)
|
||||||
add_subdirectory(Shiny)
|
add_subdirectory(Shiny)
|
||||||
add_subdirectory(semver)
|
add_subdirectory(semver)
|
||||||
add_subdirectory(imgui)
|
|
||||||
|
|
||||||
# Adding libnest2d project for bin packing...
|
# Adding libnest2d project for bin packing...
|
||||||
set(LIBNEST2D_UNITTESTS ON CACHE BOOL "Force generating unittests for libnest2d")
|
set(LIBNEST2D_UNITTESTS ON CACHE BOOL "Force generating unittests for libnest2d")
|
||||||
|
@ -24,6 +23,8 @@ include_directories(${LIBDIR}/qhull/src)
|
||||||
add_subdirectory(libslic3r)
|
add_subdirectory(libslic3r)
|
||||||
|
|
||||||
if (SLIC3R_GUI)
|
if (SLIC3R_GUI)
|
||||||
|
add_subdirectory(imgui)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
message(STATUS "WXWIN environment set to: $ENV{WXWIN}")
|
message(STATUS "WXWIN environment set to: $ENV{WXWIN}")
|
||||||
elseif(UNIX)
|
elseif(UNIX)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue