CMake: Rename CREATE_XZ_SYMLINKS to XZ_TOOL_SYMLINKS

This only affects the names unxz and xzcat. The xz-prefixed script
symlinks (xzfgrep and such) are always created if scripts are enabled.
This commit is contained in:
Lasse Collin 2024-06-15 18:07:04 +03:00
parent 04cac14fcb
commit e017d5526e
1 changed files with 2 additions and 2 deletions

View File

@ -1934,13 +1934,13 @@ if(NOT MSVC OR MSVC_VERSION GREATER_EQUAL 1900)
COMPONENT xz_Runtime)
if(UNIX)
option(CREATE_XZ_SYMLINKS "Create unxz and xzcat symlinks" ON)
option(XZ_TOOL_SYMLINKS "Create unxz and xzcat symlinks" ON)
option(XZ_TOOL_SYMLINKS_LZMA
"Create 'lzma' and other symlinks for LZMA Utils compatibility"
ON)
set(XZ_LINKS)
if(CREATE_XZ_SYMLINKS)
if(XZ_TOOL_SYMLINKS)
list(APPEND XZ_LINKS "unxz" "xzcat")
endif()