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