From 4201e3bcfb3276e538a52760b7c14df8ccc16326 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Tue, 14 Sep 2021 12:50:55 +0200 Subject: [PATCH] Don't use openmp at all in mingw toolchains since they don't seem to work with it --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c836e7..4411285 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,7 +48,7 @@ if(CCACHE_PRESENT) endif(CCACHE_PRESENT) if (${IS_GNU} OR ${IS_CLANG}) - if (NOT (MINGW AND ${IS_CLANG})) # llvm-mingw linux packages don't bundle openmp + if (NOT MINGW) include(FindOpenMP) if (OpenMP_CXX_FOUND) set(CMAKE_CXX_FLAGS "${OpenMP_CXX_FLAGS} ${CMAKE_CXX_FLAGS}")