mirror of https://github.com/WerWolv/ImHex
build: Fix error during install in offline builds
This commit is contained in:
parent
0664937c1e
commit
ef8f5c67bd
|
|
@ -641,11 +641,13 @@ 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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue