From e017d5526e316003fdb2a3f76acbb83443f14ddf Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sat, 15 Jun 2024 18:07:04 +0300 Subject: [PATCH] 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. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eb6585cf..952e9654 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()