mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-14 01:21:47 +08:00
Avoid error on osx for tbb parallel for
Add comment to previous change
This commit is contained in:
parent
a7cb7972e0
commit
b3f7f64ee0
@ -407,6 +407,12 @@ if(SLIC3R_PROFILE)
|
|||||||
target_link_libraries(libslic3r Shiny)
|
target_link_libraries(libslic3r Shiny)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (APPLE)
|
||||||
|
# This flag prevents the need for minimum SDK version 10.14
|
||||||
|
# currently, PS targets v10.12
|
||||||
|
target_compile_options(libslic3r PUBLIC "-fno-aligned-allocation")
|
||||||
|
endif ()
|
||||||
|
|
||||||
if (SLIC3R_PCH AND NOT SLIC3R_SYNTAXONLY)
|
if (SLIC3R_PCH AND NOT SLIC3R_SYNTAXONLY)
|
||||||
add_precompiled_header(libslic3r pchheader.hpp FORCEINCLUDE)
|
add_precompiled_header(libslic3r pchheader.hpp FORCEINCLUDE)
|
||||||
endif ()
|
endif ()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user