]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
CMake: Clarify a comment about Windows symlinks without file extension.
authorJia Tan <jiat0218@gmail.com>
Thu, 8 Sep 2022 12:07:00 +0000 (15:07 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 16 Sep 2022 12:32:55 +0000 (15:32 +0300)
CMakeLists.txt

index 90939c2b4f114d5ec22255d74798e13daa63a919..62d349ae75fe8a4ecc8081d5be580c725d566530 100644 (file)
@@ -711,10 +711,9 @@ if(NOT MSVC AND HAVE_GETOPT_LONG)
 
         # Create symlinks in the build directory and then install them.
         #
-        # FIXME? On OSes where executables have a suffix like .exe, this
-        # will create links like unxz -> xz.exe which is correct on Cygwin
-        # but perhaps on some other cases unxz.suffix -> xz.suffix would
-        # be the corrent thing?
+        # The symlinks do not likely need any special extension since
+        # even on Windows the symlink can still be executed without
+        # the .exe extension.
         foreach(LINK IN LISTS XZ_LINKS)
             add_custom_target("${LINK}" ALL
                 "${CMAKE_COMMAND}" -E create_symlink