Avoid error on osx for tbb parallel for
This commit is contained in:
parent
e2b3d1750e
commit
97652f3e71
@ -389,6 +389,10 @@ if(SLIC3R_PROFILE)
|
|||||||
target_link_libraries(libslic3r Shiny)
|
target_link_libraries(libslic3r Shiny)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (APPLE)
|
||||||
|
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…
Reference in New Issue
Block a user