diff options
author | Craig Scott <craig.scott@crascit.com> | 2020-06-27 08:36:16 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2020-06-27 08:38:28 (GMT) |
commit | 95159b7dea20c65e3c1d9b112cd4c5f4646b6a97 (patch) | |
tree | ead3bf8fa2d87b397d1b38bd53e57ee113588105 /Tests/RunCMake/File_Archive/roundtrip.cmake | |
parent | bc45bdc8193145fcd509a4da9b4095278a6a81ba (diff) | |
download | CMake-95159b7dea20c65e3c1d9b112cd4c5f4646b6a97.zip CMake-95159b7dea20c65e3c1d9b112cd4c5f4646b6a97.tar.gz CMake-95159b7dea20c65e3c1d9b112cd4c5f4646b6a97.tar.bz2 |
file(ARCHIVE_CREATE): Rename TYPE option to COMPRESSION
Fixes: #20883
Diffstat (limited to 'Tests/RunCMake/File_Archive/roundtrip.cmake')
-rw-r--r-- | Tests/RunCMake/File_Archive/roundtrip.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/RunCMake/File_Archive/roundtrip.cmake b/Tests/RunCMake/File_Archive/roundtrip.cmake index 9050400..f1b0de5 100644 --- a/Tests/RunCMake/File_Archive/roundtrip.cmake +++ b/Tests/RunCMake/File_Archive/roundtrip.cmake @@ -1,4 +1,4 @@ -foreach(parameter OUTPUT_NAME COMPRESSION_FORMAT) +foreach(parameter OUTPUT_NAME ARCHIVE_FORMAT) if(NOT DEFINED ${parameter}) message(FATAL_ERROR "missing required parameter ${parameter}") endif() @@ -37,8 +37,8 @@ file(MAKE_DIRECTORY ${FULL_DECOMPRESS_DIR}) file(ARCHIVE_CREATE OUTPUT ${FULL_OUTPUT_NAME} - FORMAT "${COMPRESSION_FORMAT}" - TYPE "${COMPRESSION_TYPE}" + FORMAT "${ARCHIVE_FORMAT}" + COMPRESSION "${COMPRESSION_TYPE}" VERBOSE DIRECTORY ${COMPRESS_DIR}) |