Merge topic 'fetchcontent-debug-log-level'

8c878b2d2e FetchContent: Fix command echo for DEBUG and TRACE log levels

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9640
This commit is contained in:
Craig Scott
2024-07-06 12:27:23 +00:00
committed by Kitware Robot
3 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ endif()
# enabling them to be shown for DEBUG may be useful to help diagnose problems.
cmake_language(GET_MESSAGE_LOG_LEVEL active_log_level)
if(active_log_level MATCHES "DEBUG|TRACE")
set(maybe_show_command "COMMAND_ECHO STDOUT")
set(maybe_show_command COMMAND_ECHO STDOUT)
else()
set(maybe_show_command "")
endif()

View File

@@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 3.5)
# enabling them to be shown for DEBUG may be useful to help diagnose problems.
cmake_language(GET_MESSAGE_LOG_LEVEL active_log_level)
if(active_log_level MATCHES "DEBUG|TRACE")
set(maybe_show_command "COMMAND_ECHO STDOUT")
set(maybe_show_command COMMAND_ECHO STDOUT)
else()
set(maybe_show_command "")
endif()

View File

@@ -16,7 +16,7 @@ endif()
# enabling them to be shown for DEBUG may be useful to help diagnose problems.
cmake_language(GET_MESSAGE_LOG_LEVEL active_log_level)
if(active_log_level MATCHES "DEBUG|TRACE")
set(maybe_show_command "COMMAND_ECHO STDOUT")
set(maybe_show_command COMMAND_ECHO STDOUT)
else()
set(maybe_show_command "")
endif()