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

build: Do not install _schema.json files (#1095)

This commit is contained in:
iTrooz 2023-05-22 13:20:55 +02:00 committed by GitHub
parent f81276f7e3
commit bfe698f883
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -405,7 +405,7 @@ function(downloadImHexPatternsFiles dest)
if (EXISTS ${imhex_patterns_SOURCE_DIR})
set(PATTERNS_FOLDERS_TO_INSTALL constants encodings includes patterns magic)
foreach (FOLDER ${PATTERNS_FOLDERS_TO_INSTALL})
install(DIRECTORY "${imhex_patterns_SOURCE_DIR}/${FOLDER}" DESTINATION ${dest})
install(DIRECTORY "${imhex_patterns_SOURCE_DIR}/${FOLDER}" DESTINATION ${dest} PATTERN "**/_schema.json" EXCLUDE)
endforeach ()
endif ()