diff options
author | Jelle Spijker <j.spijker@ultimaker.com> | 2022-04-07 15:59:29 +0300 |
---|---|---|
committer | Jelle Spijker <spijker.jelle@gmail.com> | 2022-04-07 15:59:29 +0300 |
commit | 5a3264798142a830b712efe882ea0e15b6d7f641 (patch) | |
tree | 71c99ed2e16ffc8ef1cc3a5cae6f319e9d36a714 | |
parent | ed4701757c898f25f2c79073986e369eb36a718c (diff) |
Disable openmp on Mac
Contributes to CURA-8640
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index cdfda4c30..ac472096b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,12 +7,15 @@ project(CuraEngine) set(CURA_ENGINE_VERSION "master" CACHE STRING "Version name of Cura") option(ENABLE_ARCUS "Enable support for ARCUS" ON) option(BUILD_TESTS "Build with unit tests" OFF) -option(ENABLE_OPENMP "Use OpenMP for parallel code" ON) option(ENABLE_MORE_COMPILER_OPTIMIZATION_FLAGS "Enable more optimization flags" ON) option(USE_SYSTEM_LIBS "Use the system libraries if available" OFF) option(ENABLE_MORE_COMPILER_OPTIMIZATION_FLAGS "Enable more optimization flags" ON) option(EXTENSIVE_WARNINGS "Compile with all warnings" OFF) +if(NOT APPLE) + option(ENABLE_OPENMP "Use OpenMP for parallel code" ON) +endif() + include(cmake/StandardProjectSettings.cmake) # Create Protobuf files if Arcus is used |