From 71872ac926fa15dc2d1afcc3dce34d5ac4238cd1 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 23 Apr 2008 11:13:25 -0400 Subject: BUG: Fix implementation of CMP0006 to not override the BUNDLE destination with the RUNTIME destination. --- Source/cmInstallCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx index 03bd159..6ce7ae5 100644 --- a/Source/cmInstallCommand.cxx +++ b/Source/cmInstallCommand.cxx @@ -536,7 +536,7 @@ bool cmInstallCommand::HandleTargetsMode(std::vector const& args) bundleGenerator = CreateInstallTargetGenerator(target, bundleArgs, false); } - if(!runtimeArgs.GetDestination().empty()) + else if(!runtimeArgs.GetDestination().empty()) { bool failure = false; if(this->CheckCMP0006(failure)) -- cgit v0.12