mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
build: Fix error during install in offline builds
This commit is contained in:
@@ -641,10 +641,12 @@ function(downloadImHexPatternsFiles dest)
|
||||
endforeach()
|
||||
]])
|
||||
else()
|
||||
if (NOT (imhex_patterns_SOURCE_DIR STREQUAL ""))
|
||||
set(PATTERNS_FOLDERS_TO_INSTALL constants encodings includes patterns magic nodes)
|
||||
foreach (FOLDER ${PATTERNS_FOLDERS_TO_INSTALL})
|
||||
install(DIRECTORY "${imhex_patterns_SOURCE_DIR}/${FOLDER}" DESTINATION "${dest}" PATTERN "**/_schema.json" EXCLUDE)
|
||||
endforeach ()
|
||||
endif()
|
||||
endif ()
|
||||
|
||||
endfunction()
|
||||
|
||||
Reference in New Issue
Block a user