mirror of https://github.com/WerWolv/ImHex
build: Make ImHex-Pattern clone command error on failure
This commit is contained in:
parent
8a0639ced2
commit
1f1d127822
|
|
@ -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 ()
|
||||
|
|
|
|||
Loading…
Reference in New Issue