mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-05 11:32:53 +00:00
Build: Add a flag to disable PCH
This commit is contained in:
@@ -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 ()
|
||||
|
||||
Reference in New Issue
Block a user