]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
CMake: Rename CREATE_XZ_SYMLINKS to XZ_TOOL_SYMLINKS
authorLasse Collin <lasse.collin@tukaani.org>
Sat, 15 Jun 2024 15:07:04 +0000 (18:07 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Thu, 20 Jun 2024 12:00:05 +0000 (15:00 +0300)
This only affects the names unxz and xzcat. The xz-prefixed script
symlinks (xzfgrep and such) are always created if scripts are enabled.

CMakeLists.txt

index eb6585cfdcf3740c0400d7da28e5120087afd9b1..952e9654c8b800f2982e7dc116c7a73f05b2b8db 100644 (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()