From 0664937c1e8a92e295ed9ad9620c9f9ba8a869cd Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 14 Aug 2025 23:44:19 +0200 Subject: [PATCH] build: Remove check if ImHex-Patterns repo was downloaded --- cmake/build_helpers.cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index c8c8aa6ee..57e16ab6c 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -623,9 +623,7 @@ function(downloadImHexPatternsFiles dest) install(CODE "set(imhex_patterns_SOURCE_DIR \"${imhex_patterns_SOURCE_DIR}\")") - if (NOT EXISTS ${imhex_patterns_SOURCE_DIR}) - message(WARNING "Failed to locate ImHex-Patterns repository, some resources will be missing during install!") - elseif(XCODE) + if(XCODE) install(CODE [[ # The Xcode build has multiple configurations, which each need a copy of these files file(GLOB_RECURSE sourceFilePaths LIST_DIRECTORIES NO CONFIGURE_DEPENDS RELATIVE "${imhex_patterns_SOURCE_DIR}"