summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-04-23 15:13:25 (GMT)
committerBrad King <brad.king@kitware.com>2008-04-23 15:13:25 (GMT)
commit71872ac926fa15dc2d1afcc3dce34d5ac4238cd1 (patch)
tree6b99baedc7e69fee064ff5a447ae8ea722a82480 /Source/cmInstallCommand.cxx
parent456b5dab0f6ac8cce024f2f7e6fefc5464d6d744 (diff)
downloadCMake-71872ac926fa15dc2d1afcc3dce34d5ac4238cd1.zip
CMake-71872ac926fa15dc2d1afcc3dce34d5ac4238cd1.tar.gz
CMake-71872ac926fa15dc2d1afcc3dce34d5ac4238cd1.tar.bz2
BUG: Fix implementation of CMP0006 to not override the BUNDLE destination with the RUNTIME destination.
Diffstat (limited to 'Source/cmInstallCommand.cxx')
-rw-r--r--Source/cmInstallCommand.cxx2
1 files changed, 1 insertions, 1 deletions
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<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))