We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e0b72f commit eac115cCopy full SHA for eac115c
cmake/Sanitizers.cmake
@@ -11,6 +11,7 @@ endif()
11
function(enable_sanitizers target)
12
if(CMAKE_BUILD_TYPE STREQUAL "Sanitize")
13
target_compile_options(${target} PRIVATE ${SANITIZER_FLAGS})
14
+ target_link_options(${target} PRIVATE ${SANITIZER_FLAGS})
15
message(STATUS "✅\tEnabled sanitizers for target ${target}")
16
endif()
17
endfunction()
0 commit comments