1
0
镜像自地址 https://git.tukaani.org/xz.git 已同步 2025-09-16 07:28:30 +00:00

CMake: Rename CREATE_LZMA_SYMLINKS to XZ_TOOL_LZMA_SYMLINKS

Update the description too.

It affects creation of not only the legacy lzma, unlzma, lzcat symlinks
but also lzgrep and other legacy names for the scripts. The last
LZMA Utils release was made in 2008 but these names are still used
in some places to handle .lzma files.
这个提交包含在:
Lasse Collin 2024-06-15 18:07:04 +03:00
父节点 612ccebf88
当前提交 04cac14fcb

查看文件

@ -1935,7 +1935,8 @@ if(NOT MSVC OR MSVC_VERSION GREATER_EQUAL 1900)
if(UNIX)
option(CREATE_XZ_SYMLINKS "Create unxz and xzcat symlinks" ON)
option(CREATE_LZMA_SYMLINKS "Create lzma, unlzma, and lzcat symlinks"
option(XZ_TOOL_SYMLINKS_LZMA
"Create 'lzma' and other symlinks for LZMA Utils compatibility"
ON)
set(XZ_LINKS)
@ -1943,7 +1944,7 @@ if(NOT MSVC OR MSVC_VERSION GREATER_EQUAL 1900)
list(APPEND XZ_LINKS "unxz" "xzcat")
endif()
if(CREATE_LZMA_SYMLINKS)
if(XZ_TOOL_SYMLINKS_LZMA)
list(APPEND XZ_LINKS "lzma" "unlzma" "lzcat")
endif()
@ -1998,7 +1999,7 @@ if(UNIX)
set(XZMORE_LINKS)
set(XZLESS_LINKS)
if(CREATE_LZMA_SYMLINKS)
if(XZ_TOOL_SYMLINKS_LZMA)
list(APPEND XZDIFF_LINKS lzdiff lzcmp)
list(APPEND XZGREP_LINKS lzgrep lzegrep lzfgrep)
list(APPEND XZMORE_LINKS lzmore)