mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 07:11:12 -06:00
Build: Add a flag to disable PCH
This commit is contained in:
parent
04c0b59bc6
commit
6db40feace
3 changed files with 12 additions and 5 deletions
|
@ -128,6 +128,6 @@ add_library(libslic3r_gui STATIC
|
|||
)
|
||||
|
||||
target_link_libraries(libslic3r_gui libslic3r avrdude imgui)
|
||||
if (NOT SLIC3R_SYNTAXONLY)
|
||||
if (SLIC3R_PCH AND NOT SLIC3R_SYNTAXONLY)
|
||||
add_precompiled_header(libslic3r_gui pchheader.hpp FORCEINCLUDE)
|
||||
endif ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue