diff options
author | Brad King <brad.king@kitware.com> | 2020-10-14 14:51:21 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-10-14 14:51:32 (GMT) |
commit | 1356230b0709fe3a3d4e4ddf5615821bc2199d79 (patch) | |
tree | 7ef04308a2367fb61eaa4f82e45162bc48e6b6d7 | |
parent | ad17001931aabd59f093810c0a574a8050f283d6 (diff) | |
parent | 440ee739c4bc29ccaf857874bbd269e6a9130611 (diff) | |
download | CMake-1356230b0709fe3a3d4e4ddf5615821bc2199d79.zip CMake-1356230b0709fe3a3d4e4ddf5615821bc2199d79.tar.gz CMake-1356230b0709fe3a3d4e4ddf5615821bc2199d79.tar.bz2 |
Merge topic 'cmake-gui-res' into release-3.19
440ee739c4 cmake-gui: Attach icons only to main GUI executables
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5368
-rw-r--r-- | Source/QtDialog/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt index bff3cb8..452a303 100644 --- a/Source/QtDialog/CMakeLists.txt +++ b/Source/QtDialog/CMakeLists.txt @@ -162,10 +162,10 @@ add_executable(cmake-gui WIN32 MACOSX_BUNDLE CMakeGUIExec.cxx ${MANIFEST_FILE}) target_link_libraries(cmake-gui CMakeGUIMainLib Qt5::Core) if(WIN32) - target_sources(CMakeGUILib INTERFACE $<TARGET_OBJECTS:CMakeVersion> CMakeSetup.rc) + target_sources(CMakeGUIMainLib INTERFACE $<TARGET_OBJECTS:CMakeVersion> CMakeSetup.rc) endif() if(APPLE) - target_sources(CMakeGUILib INTERFACE CMakeSetup.icns) + target_sources(CMakeGUIMainLib INTERFACE CMakeSetup.icns) set(MACOSX_BUNDLE_ICON_FILE CMakeSetup.icns) set_source_files_properties(CMakeSetup.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources) |