xtensa: don't print debug messages to stderr

By default, CMake message() commands prints to stderr.
IDEs like Eclipse show stderr output in red, which looks as if this is
some kind of error.

Use message(STATUS) instead.
This commit is contained in:
Ivan Grokhotkov
2023-04-25 12:59:41 +02:00
parent 2fb3681ad2
commit 9d82d6bf7f

View File

@@ -12,7 +12,7 @@ else()
OUTPUT_VARIABLE dump_machine
)
endif()
message("Compiler supported targets: ${dump_machine}")
message(STATUS "Compiler supported targets: ${dump_machine}")
if(NOT (${CMAKE_SYSTEM_NAME} STREQUAL "Generic" AND ${dump_machine} MATCHES xtensa))
message(FATAL_ERROR "Internal error, toolchain has not been set correctly by project "