Merge pull request #123 from sheldonrobinson/master

Add MSVC support for OpenMP in CMakeLists
This commit is contained in:
mborgerding
2026-10-26 07:10:15 -04:00
committed by GitHub
+1 -1
View File
@@ -186,7 +186,7 @@ endif()
#
if(KISSFFT_OPENMP)
if(CMAKE_C_COMPILER_ID MATCHES "GNU|Clang|AppleClang")
if(CMAKE_C_COMPILER_ID MATCHES "GNU|Clang|AppleClang|MSVC")
if (NOT MSVC)
target_compile_options(kissfft PRIVATE -fopenmp)
if(${CMAKE_VERSION} VERSION_LESS "3.13.0")