adding precompiled header should probably be the last statement.
This commit is contained in:
parent
c22423a219
commit
35ba7a481c
1 changed files with 4 additions and 4 deletions
|
@ -216,10 +216,6 @@ add_library(libslic3r STATIC
|
||||||
|
|
||||||
encoding_check(libslic3r)
|
encoding_check(libslic3r)
|
||||||
|
|
||||||
if (SLIC3R_PCH AND NOT SLIC3R_SYNTAXONLY)
|
|
||||||
add_precompiled_header(libslic3r pchheader.hpp FORCEINCLUDE)
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
target_compile_definitions(libslic3r PUBLIC -DUSE_TBB -DTBB_USE_CAPTURED_EXCEPTION=0)
|
target_compile_definitions(libslic3r PUBLIC -DUSE_TBB -DTBB_USE_CAPTURED_EXCEPTION=0)
|
||||||
target_include_directories(libslic3r PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${LIBNEST2D_INCLUDES} PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
|
target_include_directories(libslic3r PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${LIBNEST2D_INCLUDES} PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
target_link_libraries(libslic3r
|
target_link_libraries(libslic3r
|
||||||
|
@ -252,3 +248,7 @@ endif()
|
||||||
if(SLIC3R_PROFILE)
|
if(SLIC3R_PROFILE)
|
||||||
target_link_libraries(slic3r Shiny)
|
target_link_libraries(slic3r Shiny)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (SLIC3R_PCH AND NOT SLIC3R_SYNTAXONLY)
|
||||||
|
add_precompiled_header(libslic3r pchheader.hpp FORCEINCLUDE)
|
||||||
|
endif ()
|
||||||
|
|
Loading…
Reference in a new issue