diff options
author | Mike Achtelik <mike.achtelik@gmail.com> | 2021-05-07 19:08:47 (GMT) |
---|---|---|
committer | Mike Achtelik <mike.achtelik@gmail.com> | 2021-05-07 19:16:08 (GMT) |
commit | 169da7cd81e0141f8797f809d82bf8d14caf8074 (patch) | |
tree | 426f9877b9e94dfe964074d62fb499439fbd6d75 /Source/cmInstallCommand.cxx | |
parent | e417d460469cb5c225c8126dc499f3a122365660 (diff) | |
download | CMake-169da7cd81e0141f8797f809d82bf8d14caf8074.zip CMake-169da7cd81e0141f8797f809d82bf8d14caf8074.tar.gz CMake-169da7cd81e0141f8797f809d82bf8d14caf8074.tar.bz2 |
Do not show RESOURCE DESTINATION warning for MACOSX_BUNDLE
RESOURCE arguments are ignored on Apple platforms because the
associated files are installed into the appropriate locations
inside the framework folder. So we do not need to show a warning,
that no RESOURCE DESTINATION is defined.
Fixes #15676
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 7788db3..0a8304f 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."), |