From cb445e8d1d66daf294e64a07bf69b6266fe1cded Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Thu, 24 Oct 2024 10:27:51 -0400 Subject: [PATCH] [cmake] Promote message when failing to find compiler-rt to warning (#111834) This makes the message stand out a bit more, which can be helpful to debug situations where compiler-rt is missing but shouldn't. --- cmake/Modules/HandleCompilerRT.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/HandleCompilerRT.cmake b/cmake/Modules/HandleCompilerRT.cmake index 0a7c56bc6309..9398d99afdd0 100644 --- a/cmake/Modules/HandleCompilerRT.cmake +++ b/cmake/Modules/HandleCompilerRT.cmake @@ -5,7 +5,7 @@ # COMPILER_RT_LIBRARY-- to NOTFOUND function(cache_compiler_rt_library err_flag name target library_file) if(err_flag OR NOT EXISTS "${library_file}") - message(STATUS "Failed to find compiler-rt ${name} library for ${target}") + message(WARNING "Failed to find compiler-rt ${name} library for ${target}") set(COMPILER_RT_LIBRARY_${name}_${target} "NOTFOUND" CACHE INTERNAL "compiler-rt ${name} library for ${target}") else()