Skip to content

Commit

Permalink
Update src/Utilities.cmake
Browse files Browse the repository at this point in the history
Co-authored-by: Amin Yahyaabadi <[email protected]>
  • Loading branch information
abeimler and aminya authored Aug 8, 2023
1 parent d4fd5f2 commit 247c7b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utilities.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function(check_sanitizers_support
ENABLE_SANITIZER_THREAD
ENABLE_SANITIZER_MEMORY)
set(SANITIZERS "")
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES ".*Clang")
if(NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
list(APPEND SANITIZERS "address")
list(APPEND SANITIZERS "undefined")
list(APPEND SANITIZERS "leak")
Expand Down

0 comments on commit 247c7b2

Please sign in to comment.