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:42 (GMT) |
commit | 0cb4fffae18c9dd28cf371d609a5dfe6e552e397 (patch) | |
tree | ac76e085e9b2ab7559258ce732e8f951da0bae65 /Source/QtDialog | |
parent | 4205b7094ab555a91643c52ee3180a13f64d35a7 (diff) | |
parent | ec76a9c22fc11edd22d6fe65fc75ab9609322c88 (diff) | |
download | CMake-0cb4fffae18c9dd28cf371d609a5dfe6e552e397.zip CMake-0cb4fffae18c9dd28cf371d609a5dfe6e552e397.tar.gz CMake-0cb4fffae18c9dd28cf371d609a5dfe6e552e397.tar.bz2 |
Merge topic 'cmake-gui-restore-version-info'
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
Diffstat (limited to 'Source/QtDialog')
-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) |