From 2a3ded6eef68ed482ef1c272d41e8f639ac220d1 Mon Sep 17 00:00:00 2001
From: Jannis Linxweiler <linxweiler@irmb.tu-bs.de>
Date: Fri, 25 Oct 2019 10:54:06 +0200
Subject: [PATCH] disable default support for OpenMP on Apple LLVM

---
 CMake/CMakeSetCompilerFlags.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/CMake/CMakeSetCompilerFlags.txt b/CMake/CMakeSetCompilerFlags.txt
index 060a82e57..5abf0a64a 100644
--- a/CMake/CMakeSetCompilerFlags.txt
+++ b/CMake/CMakeSetCompilerFlags.txt
@@ -11,6 +11,10 @@ MACRO(SET_COMPILER_SPECIFIC_FLAGS compiler_type build_type)
   
   OPTION(USE_OPENMP "activate open" ON)
   
+  IF(APPLE)
+    SET(USE_OPENMP OFF)
+  ENDIF()
+  
   ###############################################################################################################
   ## Flags ruecksetzen
   ###############################################################################################################
-- 
GitLab