mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 22:30:13 -06:00
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
This commit is contained in:
@@ -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."),
|
||||
|
||||
Reference in New Issue
Block a user