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

CMake: Fix a copypaste error in xzdec Windows resource file handling.

It was my mistake. Thanks to Iouri Kharon for the bug report.
This commit is contained in:
Lasse Collin 2023-01-09 11:27:24 +02:00
parent 706bce5018
commit 3d45987451

View file

@ -613,8 +613,8 @@ if(HAVE_GETOPT_LONG)
if(WIN32) if(WIN32)
# Add the Windows resource file for xzdec.exe. # Add the Windows resource file for xzdec.exe.
target_sources(xz PRIVATE src/xzdec/xzdec_w32res.rc) target_sources(xzdec PRIVATE src/xzdec/xzdec_w32res.rc)
set_target_properties(xz PROPERTIES set_target_properties(xzdec PROPERTIES
LINK_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/src/common/common_w32res.rc" LINK_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/src/common/common_w32res.rc"
) )
endif() endif()