From 2b5ed5ef558c6fed04585c7b53a119fde15d4e7c Mon Sep 17 00:00:00 2001 From: Igor Abdrakhimov Date: Fri, 21 Feb 2025 11:04:13 -0800 Subject: [PATCH] Add message that sanitizer check failed --- cmake/AwsSanitizers.cmake | 4 ++++ 1 file changed, 4 insertions(+) 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()