1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-29 10:55:50 +00:00

Modify PCH script to use builtin cmake function if possible.

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