Skip to content

Commit 5c0cb32

Browse files
committed
precompiled compression - lower required cmake version
1 parent de8e26a commit 5c0cb32

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/create_archive.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99

1010

1111
if(DO_COMPRESS)
12+
message("Compress ${INPUT_FILE} ...")
1213
file(ARCHIVE_CREATE
1314
OUTPUT "${OUTPUT_FILE}"
1415
PATHS "${INPUT_FILE}"
1516
FORMAT raw
1617
COMPRESSION Zstd
17-
COMPRESSION_LEVEL 19
18+
COMPRESSION_LEVEL 9 # 0-9 for cmake >= 3.19 or 0-19 for cmake >= 3.26
1819
)
1920
endif()
2021

0 commit comments

Comments
 (0)