Skip to content

Commit

Permalink
Add message that sanitizer check failed
Browse files Browse the repository at this point in the history
  • Loading branch information
sfodagain committed Feb 21, 2025
1 parent c7ad18c commit 2b5ed5e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/AwsSanitizers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ function(aws_check_sanitizer sanitizer)
if(${CMAKE_CXX_COMPILER_LOADED})
check_cxx_compiler_flag(${sanitizer_test_flag} ${out_variable})
endif()

if(NOT ${out_variable})
message(STATUS "Check ${out_variable} failed")
endif()
else()
set(${out_variable} 0 PARENT_SCOPE)
endif()
Expand Down

0 comments on commit 2b5ed5e

Please sign in to comment.