diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2023-01-09 11:27:24 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2023-01-09 11:27:24 +0200 |
commit | 790a12a95a78ff82d8c6d4efe3b789851ca9470d (patch) | |
tree | 6f7a053c27fe6d0f5b5cc57ca65f1eda459b1930 /CMakeLists.txt | |
parent | Tests: tuktest.h: Support tuktest_malloc(0). (diff) | |
download | xz-790a12a95a78ff82d8c6d4efe3b789851ca9470d.tar.xz |
CMake: Fix a copypaste error in xzdec Windows resource file handling.
It was my mistake. Thanks to Iouri Kharon for the bug report.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1f52b302..f6bad610 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -632,8 +632,8 @@ if(HAVE_GETOPT_LONG) if(WIN32) # Add the Windows resource file for xzdec.exe. - target_sources(xz PRIVATE src/xzdec/xzdec_w32res.rc) - set_target_properties(xz PROPERTIES + 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" ) endif() |