mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
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.
This commit is contained in:
@@ -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
|
# There can be multiple COMMANDs, but we have to split those up to
|
||||||
# one command per call to execute_process()
|
# one command per call to execute_process()
|
||||||
set(execute_process_cmd
|
string(CONCAT execute_process_cmd
|
||||||
"execute_process(\n"
|
"execute_process(\n"
|
||||||
" WORKING_DIRECTORY \"${work_dir}\"\n"
|
" WORKING_DIRECTORY \"${work_dir}\"\n"
|
||||||
" COMMAND_ERROR_IS_FATAL LAST\n"
|
" COMMAND_ERROR_IS_FATAL LAST\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user