Skip to content

Commit

Permalink
revert cmake setting
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Mar 26, 2024
1 parent 8ffc17a commit b7caa09
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cmake/develop.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@ int main()
endmacro()

# Enable address sanitizer
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
option(ENABLE_SANITIZER "Enable sanitizer(Debug+Gcc/Clang/AppleClang)" OFF)
else()
option(ENABLE_SANITIZER "Enable sanitizer(Debug+Gcc/Clang/AppleClang)" ON)
endif()
option(ENABLE_SANITIZER "Enable sanitizer(Debug+Gcc/Clang/AppleClang)" ON)
if(ENABLE_SANITIZER AND NOT MSVC)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
check_asan(HAS_ASAN)
Expand Down

0 comments on commit b7caa09

Please sign in to comment.