build: Make ImHex-Pattern clone command error on failure

This commit is contained in:
WerWolv 2025-08-15 21:28:03 +02:00
parent 8a0639ced2
commit 1f1d127822
1 changed files with 2 additions and 1 deletions

View File

@ -606,7 +606,8 @@ function(downloadImHexPatternsFiles dest)
install(CODE [[
execute_process(
COMMAND
git clone --recurse-submodules --branch ${PATTERNS_BRANCH} https://github.com/WerWolv/ImHex-Patterns.git ${imhex_patterns_SOURCE_DIR}
git clone --recurse-submodules --branch ${PATTERNS_BRANCH} https://github.com/WerWolv/ImHex-Patterns.git "${imhex_patterns_SOURCE_DIR}"
COMMAND_ERROR_IS_FATAL ANY
)
]])
else ()