mirror of https://git.tukaani.org/xz.git
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.
This commit is contained in:
parent
612ccebf88
commit
04cac14fcb
|
@ -1935,7 +1935,8 @@ if(NOT MSVC OR MSVC_VERSION GREATER_EQUAL 1900)
|
||||||
|
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
option(CREATE_XZ_SYMLINKS "Create unxz and xzcat symlinks" ON)
|
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)
|
ON)
|
||||||
set(XZ_LINKS)
|
set(XZ_LINKS)
|
||||||
|
|
||||||
|
@ -1943,7 +1944,7 @@ if(NOT MSVC OR MSVC_VERSION GREATER_EQUAL 1900)
|
||||||
list(APPEND XZ_LINKS "unxz" "xzcat")
|
list(APPEND XZ_LINKS "unxz" "xzcat")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CREATE_LZMA_SYMLINKS)
|
if(XZ_TOOL_SYMLINKS_LZMA)
|
||||||
list(APPEND XZ_LINKS "lzma" "unlzma" "lzcat")
|
list(APPEND XZ_LINKS "lzma" "unlzma" "lzcat")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -1998,7 +1999,7 @@ if(UNIX)
|
||||||
set(XZMORE_LINKS)
|
set(XZMORE_LINKS)
|
||||||
set(XZLESS_LINKS)
|
set(XZLESS_LINKS)
|
||||||
|
|
||||||
if(CREATE_LZMA_SYMLINKS)
|
if(XZ_TOOL_SYMLINKS_LZMA)
|
||||||
list(APPEND XZDIFF_LINKS lzdiff lzcmp)
|
list(APPEND XZDIFF_LINKS lzdiff lzcmp)
|
||||||
list(APPEND XZGREP_LINKS lzgrep lzegrep lzfgrep)
|
list(APPEND XZGREP_LINKS lzgrep lzegrep lzfgrep)
|
||||||
list(APPEND XZMORE_LINKS lzmore)
|
list(APPEND XZMORE_LINKS lzmore)
|
||||||
|
|
Loading…
Reference in New Issue