Skip to content

Commit cb445e8

Browse files
authored
[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.
1 parent 8a7318e commit cb445e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/Modules/HandleCompilerRT.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# COMPILER_RT_LIBRARY-<name>-<target> to NOTFOUND
66
function(cache_compiler_rt_library err_flag name target library_file)
77
if(err_flag OR NOT EXISTS "${library_file}")
8-
message(STATUS "Failed to find compiler-rt ${name} library for ${target}")
8+
message(WARNING "Failed to find compiler-rt ${name} library for ${target}")
99
set(COMPILER_RT_LIBRARY_${name}_${target} "NOTFOUND" CACHE INTERNAL
1010
"compiler-rt ${name} library for ${target}")
1111
else()

0 commit comments

Comments
 (0)