CMake: Rename LZIP_DECODER to XZ_LZIP_DECODER

This commit is contained in:
Lasse Collin 2024-06-15 18:07:04 +03:00
parent 2343992fcb
commit b56273ae57
2 changed files with 3 additions and 3 deletions

View File

@ -963,9 +963,9 @@ endif()
# lzip (.lz) format support #
#############################
option(LZIP_DECODER "Support lzip decoder" ON)
option(XZ_LZIP_DECODER "Support lzip decoder" ON)
if(LZIP_DECODER)
if(XZ_LZIP_DECODER)
# If lzip decoder support is requested, make sure LZMA1 decoder is enabled.
if(NOT "lzma1" IN_LIST DECODERS)
message(FATAL_ERROR "The LZMA1 decoder is required to support the "

View File

@ -178,7 +178,7 @@ if(BUILD_TESTING)
# test_files.sh decompresses files that use different filters and
# check types so run it only if support for all of them has been enabled.
if(UNIX AND HAVE_ALL_DECODERS AND HAVE_ALL_CHECK_TYPES AND LZIP_DECODER)
if(UNIX AND HAVE_ALL_DECODERS AND HAVE_ALL_CHECK_TYPES AND XZ_LZIP_DECODER)
# test_files.sh doesn't make any temporary files but it
# must not be run at the top-level build directory because
# it checks if ../config.h exists. We don't want to read