From 270b8383a17820680b5e9b31b86161bf2bd677d1 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Thu, 10 Oct 2024 09:22:16 -0400 Subject: [PATCH] [cmake] Promote message when failing to find compiler-rt to warning 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 0a7c56bc63093..9398d99afdd01 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()