From 1f1d127822f09cdf6c110c4a5d644e6092a4dc07 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Fri, 15 Aug 2025 21:28:03 +0200 Subject: [PATCH] build: Make ImHex-Pattern clone command error on failure --- cmake/build_helpers.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index 06de45da9..b8533b5e4 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -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 ()