diff --git a/src/libslic3r/CMakeLists.txt b/src/libslic3r/CMakeLists.txt
index 7577f6cb2..2e7680bef 100644
--- a/src/libslic3r/CMakeLists.txt
+++ b/src/libslic3r/CMakeLists.txt
@@ -389,6 +389,10 @@ if(SLIC3R_PROFILE)
     target_link_libraries(libslic3r Shiny)
 endif()
 
+if (APPLE)
+    target_compile_options(libslic3r PUBLIC "-fno-aligned-allocation")
+endif ()
+
 if (SLIC3R_PCH AND NOT SLIC3R_SYNTAXONLY)
     add_precompiled_header(libslic3r pchheader.hpp FORCEINCLUDE)
 endif ()