Skip to content

Commit

Permalink
Windows/CMake: Use the correct resource file for lzmadec.exe
Browse files Browse the repository at this point in the history
CMakeLists.txt was using xzdec_w32res.rc for both xzdec and lzmadec.

Fixes: 998d0b2
  • Loading branch information
Larhzu committed Sep 25, 2024
1 parent b834ae5 commit dc7b9f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1850,7 +1850,7 @@ if(HAVE_DECODERS)

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"
)
Expand Down

0 comments on commit dc7b9f2

Please sign in to comment.