diff options
author | Brad King <brad.king@kitware.com> | 2022-11-10 14:58:59 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-11-10 14:59:41 (GMT) |
commit | e12aa7139306f607d6d85aa8d4c552311503a319 (patch) | |
tree | 9a15c64fa48af846f0534cda6edd400389dc0df0 | |
parent | c2635ec0210b0f94a852935474ac5587a520669c (diff) | |
parent | ec76a9c22fc11edd22d6fe65fc75ab9609322c88 (diff) | |
download | CMake-e12aa7139306f607d6d85aa8d4c552311503a319.zip CMake-e12aa7139306f607d6d85aa8d4c552311503a319.tar.gz CMake-e12aa7139306f607d6d85aa8d4c552311503a319.tar.bz2 |
Merge topic 'cmake-gui-restore-version-info' into release-3.25
ec76a9c22f cmake-gui: Restore embedded version information in Windows binary
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7895
-rw-r--r-- | Source/QtDialog/CMakeLists.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt index a41b237..c90b7ee 100644 --- a/Source/QtDialog/CMakeLists.txt +++ b/Source/QtDialog/CMakeLists.txt @@ -254,12 +254,17 @@ target_link_libraries( CMakeGUIMainLib PUBLIC CMakeGUILib - CMakeGUIQRCLib - $<TARGET_NAME_IF_EXISTS:CMakeVersion> ) add_executable(cmake-gui WIN32 MACOSX_BUNDLE CMakeGUIExec.cxx) -target_link_libraries(cmake-gui CMakeGUIMainLib ManifestLib Qt${INSTALLED_QT_VERSION}::Core) +target_link_libraries(cmake-gui + PRIVATE + CMakeGUIMainLib + CMakeGUIQRCLib + $<TARGET_NAME_IF_EXISTS:CMakeVersion> + ManifestLib + Qt${INSTALLED_QT_VERSION}::Core + ) if(WIN32) target_sources(CMakeGUIMainLib INTERFACE CMakeSetup.rc) |