1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

CMake: Clarify a comment about Windows symlinks without file extension.

This commit is contained in:
Jia Tan 2022-09-08 15:07:00 +03:00 committed by Lasse Collin
parent a273a0cb77
commit e7a7ac744e

View file

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