From 4fddeccdac57eff7fbe3bc4ce2cbeb3ac5dca3ee Mon Sep 17 00:00:00 2001 From: Filip Sykala - NTB T15p Date: Tue, 16 Aug 2022 18:04:36 +0200 Subject: [PATCH] Try fix MacOs Build on build server --- src/libslic3r/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libslic3r/CMakeLists.txt b/src/libslic3r/CMakeLists.txt index 8a98a73ba4..9e5d9a68cb 100644 --- a/src/libslic3r/CMakeLists.txt +++ b/src/libslic3r/CMakeLists.txt @@ -461,6 +461,7 @@ 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") + target_compile_options(libslic3r_cgal PUBLIC "-fno-aligned-allocation") endif () if (SLIC3R_PCH AND NOT SLIC3R_SYNTAXONLY)