diff --git a/cmake/AwsSanitizers.cmake b/cmake/AwsSanitizers.cmake index 998eb70d2..ca1be9e02 100644 --- a/cmake/AwsSanitizers.cmake +++ b/cmake/AwsSanitizers.cmake @@ -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()