Skip to content

Commit

Permalink
RTSan linking should be off by default (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjappl authored Dec 23, 2024
1 parent 11c7b37 commit 6bdbb0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ include(CheckCXXCompilerFlag)
check_cxx_compiler_flag("-fsanitize=realtime" COMPILER_SUPPORTS_RTSAN)
unset(CMAKE_TRY_COMPILE_TARGET_TYPE)
if(COMPILER_SUPPORTS_RTSAN)
message(STATUS "Compiler supports -fsanitize=realtime, enabling RTLOG_USE_RTSAN option.")
option(RTLOG_USE_RTSAN "Use -fsanitize=realtime" ON)
message(STATUS "Compiler supports -fsanitize=realtime, allowing RTLOG_USE_RTSAN option.")
option(RTLOG_USE_RTSAN "Use -fsanitize=realtime" OFF)
endif()

# Add library header files
Expand Down

0 comments on commit 6bdbb0a

Please sign in to comment.