summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2024-06-07 06:58:08 (GMT)
committerCraig Scott <craig.scott@crascit.com>2024-06-07 06:58:08 (GMT)
commita02eec4a9f1b7058d22d32c3d8d8b1125b5f8973 (patch)
tree65dd2fde9e3adf4d1d446f2500c433e221f491dd
parentaa72c5e3196c11559df86983edd304fd4ef15938 (diff)
downloadCMake-a02eec4a9f1b7058d22d32c3d8d8b1125b5f8973.zip
CMake-a02eec4a9f1b7058d22d32c3d8d8b1125b5f8973.tar.gz
CMake-a02eec4a9f1b7058d22d32c3d8d8b1125b5f8973.tar.bz2
FetchContent,ExternalProject: Fix extra semicolons in step commands
The extra semicolons weren't ultimately causing any errors when running the step commands, but they shouldn't be there.
-rw-r--r--Modules/ExternalProject/shared_internal_commands.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/ExternalProject/shared_internal_commands.cmake b/Modules/ExternalProject/shared_internal_commands.cmake
index 6c4f61a..db14454 100644
--- a/Modules/ExternalProject/shared_internal_commands.cmake
+++ b/Modules/ExternalProject/shared_internal_commands.cmake
@@ -777,7 +777,7 @@ function(_ep_add_script_commands script_var work_dir cmd)
# There can be multiple COMMANDs, but we have to split those up to
# one command per call to execute_process()
- set(execute_process_cmd
+ string(CONCAT execute_process_cmd
"execute_process(\n"
" WORKING_DIRECTORY \"${work_dir}\"\n"
" COMMAND_ERROR_IS_FATAL LAST\n"