We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c98be98 commit f31d3c4Copy full SHA for f31d3c4
cmake/openmp.cmake
@@ -1,4 +1,4 @@
1
-if(MSVC)
+if(MSVC AND NOT (CMAKE_CXX_COMPILER_ID MATCHES "Clang"))
2
set(OpenMP_C_FLAGS "/openmp:llvm" CACHE STRING "OpenMP C flags" FORCE)
3
set(OpenMP_CXX_FLAGS "/openmp:llvm" CACHE STRING "OpenMP CXX flags" FORCE)
4
# Pretend Clang-style OpenMP 5.0 support so CMake reports a newer version
0 commit comments