From 9d82d6bf7fa777fd83a5586d0c1ac40b970fe3b9 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 25 Apr 2023 12:59:41 +0200 Subject: [PATCH] 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. --- components/xtensa/project_include.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/xtensa/project_include.cmake b/components/xtensa/project_include.cmake index 39e277fc7f..687d424749 100644 --- a/components/xtensa/project_include.cmake +++ b/components/xtensa/project_include.cmake @@ -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 "