Skip to content

Commit

Permalink
windows clang openmp
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamonDinoia committed Jul 29, 2024
1 parent d89701d commit d13b6f4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ set(FINUFFT_CXX_FLAGS_DEBUG
/Zi
-Wall
-Wno-sign-compare
-Wno-unknown-pragmas
-Wno-deprecated-declarations)
-Wno-unknown-pragmas)
filter_supported_compiler_flags(FINUFFT_CXX_FLAGS_DEBUG FINUFFT_CXX_FLAGS_DEBUG)
message(STATUS "FINUFFT Debug flags: ${FINUFFT_CXX_FLAGS_DEBUG}")
list(APPEND FINUFFT_CXX_FLAGS_RELWITHDEBINFO ${FINUFFT_CXX_FLAGS_RELEASE}
Expand Down Expand Up @@ -168,7 +167,7 @@ endif()
# Utility function to enable ASAN on debug builds
function(enable_asan target)
target_compile_options(${target} PRIVATE ${FINUFFT_SANITIZER_FLAGS})
if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
if(NOT (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC"))
target_link_options(${target} PRIVATE ${FINUFFT_SANITIZER_FLAGS})
endif()
endfunction()
Expand Down

0 comments on commit d13b6f4

Please sign in to comment.