summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2024-07-06 12:27:23 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-07-06 12:28:03 (GMT)
commit536d55a9106b3b767cd5c7d5ccc6c8cdc51f6662 (patch)
treef2c4387227225ecfbbce8d64f5671a51934440b0
parent7a46ac4a3e781796cc3aab637295a1a42b9ef62d (diff)
parent8c878b2d2e5db373840172d0c8bafa20206e98ea (diff)
downloadCMake-536d55a9106b3b767cd5c7d5ccc6c8cdc51f6662.zip
CMake-536d55a9106b3b767cd5c7d5ccc6c8cdc51f6662.tar.gz
CMake-536d55a9106b3b767cd5c7d5ccc6c8cdc51f6662.tar.bz2
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
-rw-r--r--Modules/ExternalProject/gitclone.cmake.in2
-rw-r--r--Modules/ExternalProject/gitupdate.cmake.in2
-rw-r--r--Modules/ExternalProject/hgclone.cmake.in2
3 files changed, 3 insertions, 3 deletions
diff --git a/Modules/ExternalProject/gitclone.cmake.in b/Modules/ExternalProject/gitclone.cmake.in
index 93424ed..b80bcb1 100644
--- a/Modules/ExternalProject/gitclone.cmake.in
+++ b/Modules/ExternalProject/gitclone.cmake.in
@@ -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()
diff --git a/Modules/ExternalProject/gitupdate.cmake.in b/Modules/ExternalProject/gitupdate.cmake.in
index 4e3fba6..fb0c6a6 100644
--- a/Modules/ExternalProject/gitupdate.cmake.in
+++ b/Modules/ExternalProject/gitupdate.cmake.in
@@ -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()
diff --git a/Modules/ExternalProject/hgclone.cmake.in b/Modules/ExternalProject/hgclone.cmake.in
index 993ab7f..96449aa 100644
--- a/Modules/ExternalProject/hgclone.cmake.in
+++ b/Modules/ExternalProject/hgclone.cmake.in
@@ -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()