mirror of
https://git.tukaani.org/xz.git
synced 2025-02-20 07:28:20 +00:00
Windows/CMake: Use the correct resource file for lzmadec.exe
CMakeLists.txt was using xzdec_w32res.rc for both xzdec and lzmadec. Fixes: 998d0b29536094a89cf385a3b894e157db1ccefe (cherry picked from commit dc7b9f24b737e4e55bcbbdde6754883f991c2cfb)
This commit is contained in:
parent
a341d19c83
commit
85801c96c3
@ -1628,7 +1628,7 @@ if(HAVE_DECODERS AND (NOT MSVC OR MSVC_VERSION GREATER_EQUAL 1900))
|
||||
|
||||
if(WIN32)
|
||||
# Add the Windows resource file for xzdec.exe or lzmadec.exe.
|
||||
target_sources("${XZDEC}" PRIVATE src/xzdec/xzdec_w32res.rc)
|
||||
target_sources("${XZDEC}" PRIVATE "src/xzdec/${XZDEC}_w32res.rc")
|
||||
set_target_properties("${XZDEC}" PROPERTIES
|
||||
LINK_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/src/common/common_w32res.rc"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user