summaryrefslogtreecommitdiff
path: root/Source/cmInstallCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-05-11 13:27:38 +0000
committerKitware Robot <kwrobot@kitware.com>2021-05-11 09:27:45 -0400
commit553cd4db44b5b735f9cb9a72f7b5d7fbb4212c12 (patch)
tree8de41db0711f369afbed2f9914da543d1cca132f /Source/cmInstallCommand.cxx
parenta94332ed371b3663f7587a945ef2bba5af1e133b (diff)
parent169da7cd81e0141f8797f809d82bf8d14caf8074 (diff)
downloadcmake-553cd4db44b5b735f9cb9a72f7b5d7fbb4212c12.tar.gz
Merge topic 'fixAppleResourceWarning'
169da7cd81 Do not show RESOURCE DESTINATION warning for MACOSX_BUNDLE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6104
Diffstat (limited to 'Source/cmInstallCommand.cxx')
-rw-r--r--Source/cmInstallCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx
index 8a34f91a39..d5d6d93350 100644
--- a/Source/cmInstallCommand.cxx
+++ b/Source/cmInstallCommand.cxx
@@ -775,7 +775,7 @@ bool HandleTargetsMode(std::vector<std::string> const& args,
if (!resourceArgs.GetDestination().empty()) {
resourceGenerator = CreateInstallFilesGenerator(
helper.Makefile, absFiles, resourceArgs, false);
- } else {
+ } else if (!target.IsAppBundleOnApple()) {
cmSystemTools::Message(
cmStrCat("INSTALL TARGETS - target ", target.GetName(),
" has RESOURCE files but no RESOURCE DESTINATION."),