diff options
author | Brad King <brad.king@kitware.com> | 2021-05-11 13:27:38 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-05-11 13:27:45 (GMT) |
commit | 553cd4db44b5b735f9cb9a72f7b5d7fbb4212c12 (patch) | |
tree | 8de41db0711f369afbed2f9914da543d1cca132f /Source/cmInstallCommand.cxx | |
parent | a94332ed371b3663f7587a945ef2bba5af1e133b (diff) | |
parent | 169da7cd81e0141f8797f809d82bf8d14caf8074 (diff) | |
download | CMake-553cd4db44b5b735f9cb9a72f7b5d7fbb4212c12.zip CMake-553cd4db44b5b735f9cb9a72f7b5d7fbb4212c12.tar.gz CMake-553cd4db44b5b735f9cb9a72f7b5d7fbb4212c12.tar.bz2 |
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.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx index 8a34f91..d5d6d93 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."), |