summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-14 14:51:21 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-10-14 14:51:32 (GMT)
commit1356230b0709fe3a3d4e4ddf5615821bc2199d79 (patch)
tree7ef04308a2367fb61eaa4f82e45162bc48e6b6d7
parentad17001931aabd59f093810c0a574a8050f283d6 (diff)
parent440ee739c4bc29ccaf857874bbd269e6a9130611 (diff)
downloadCMake-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.txt4
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)