1
0
mirror of synced 2024-11-28 09:30:51 +01:00

build: Make sure ImHex Patterns repo gets cloned correctly

This commit is contained in:
WerWolv 2023-07-09 22:18:53 +02:00
parent 65d9509c38
commit 32ade6136b

View File

@ -297,13 +297,6 @@ macro(configureCMake)
endif () endif ()
endmacro() endmacro()
function(message ${ARGN})
# Supress any NOTICE messages
if (ARGC GREATER 1)
_message(${ARGN})
endif()
endfunction()
macro(setDefaultBuiltTypeIfUnset) macro(setDefaultBuiltTypeIfUnset)
if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) 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) 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( FetchContent_Declare(
imhex_patterns imhex_patterns
GIT_REPOSITORY https://github.com/WerWolv/ImHex-Patterns.git 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}...") message(STATUS "Downloading ImHex-Patterns repo branch ${PATTERNS_BRANCH}...")