cmake-gui: Attach icons only to main GUI executables
In !5361 (merged) and !5362 (merged) we attached
the icon source files to all consumers of CMakeGUILib
, but that
includes other libraries like CMakeGUIMainLib
. The latter library is
meant only for direct consumption by a GUI executable, so use that to
propagate the icons instead.
Backport: release
Edited by Brad King