From 32ade6136b5f025e5d369ab9df03f5bedfeaf6f3 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 9 Jul 2023 22:18:53 +0200 Subject: [PATCH] build: Make sure ImHex Patterns repo gets cloned correctly --- cmake/build_helpers.cmake | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index ea806a837..539043464 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -297,13 +297,6 @@ macro(configureCMake) endif () endmacro() -function(message ${ARGN}) - # Supress any NOTICE messages - if (ARGC GREATER 1) - _message(${ARGN}) - endif() -endfunction() - macro(setDefaultBuiltTypeIfUnset) if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Using Release build type as it was left unset" FORCE) @@ -369,7 +362,7 @@ function(downloadImHexPatternsFiles dest) FetchContent_Declare( imhex_patterns GIT_REPOSITORY https://github.com/WerWolv/ImHex-Patterns.git - GIT_TAG master + GIT_TAG origin/master ) message(STATUS "Downloading ImHex-Patterns repo branch ${PATTERNS_BRANCH}...")