summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-10 14:58:59 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-11-10 14:59:41 (GMT)
commite12aa7139306f607d6d85aa8d4c552311503a319 (patch)
tree9a15c64fa48af846f0534cda6edd400389dc0df0
parentc2635ec0210b0f94a852935474ac5587a520669c (diff)
parentec76a9c22fc11edd22d6fe65fc75ab9609322c88 (diff)
downloadCMake-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.txt11
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)