From: Lasse Collin Date: Sat, 15 Jun 2024 15:07:04 +0000 (+0300) Subject: CMake: Rename CREATE_XZ_SYMLINKS to XZ_TOOL_SYMLINKS X-Git-Tag: v5.7.1alpha~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e017d5526e316003fdb2a3f76acbb83443f14ddf;p=thirdparty%2Fxz.git 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. --- 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()