BUG: Fix implementation of CMP0006 to not override the BUNDLE destination with the RUNTIME destination.

This commit is contained in:
Brad King 2008-04-23 11:13:25 -04:00
parent 456b5dab0f
commit 71872ac926
1 changed files with 1 additions and 1 deletions

View File

@ -536,7 +536,7 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
bundleGenerator = CreateInstallTargetGenerator(target, bundleArgs,
false);
}
if(!runtimeArgs.GetDestination().empty())
else if(!runtimeArgs.GetDestination().empty())
{
bool failure = false;
if(this->CheckCMP0006(failure))