1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-26 10:25:49 +00:00

Change pch to new CMake functions

This commit is contained in:
tamasmeszaros
2020-05-14 09:50:53 +02:00
parent 3cb967327e
commit 2d3a218a07
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -308,5 +308,6 @@ if(SLIC3R_PROFILE)
endif()
if (SLIC3R_PCH AND NOT SLIC3R_SYNTAXONLY)
add_precompiled_header(libslic3r pchheader.hpp FORCEINCLUDE)
#add_precompiled_header(libslic3r pchheader.hpp FORCEINCLUDE)
target_precompile_headers(libslic3r PRIVATE pchheader.hpp)
endif ()