summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-08-23 14:24:01 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-08-23 14:24:01 (GMT)
commit621c84f9e0ed49489b27d46e926c4a5606d66228 (patch)
treea31912b1275fe9bd5890b9114cb82f02ada7b9d2 /Source/cmFileCommand.cxx
parentd13e654ba6114bbbd38aed9b1f50e100af32c42e (diff)
downloadCMake-621c84f9e0ed49489b27d46e926c4a5606d66228.zip
CMake-621c84f9e0ed49489b27d46e926c4a5606d66228.tar.gz
CMake-621c84f9e0ed49489b27d46e926c4a5606d66228.tar.bz2
make sure correct path type is used
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 64d3bd9..46e2945 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -648,7 +648,7 @@ bool cmFileCommand::HandleInstallCommand(
#if defined(__APPLE_CC__)
{
std::string ranlib = "ranlib ";
- ranlib += destfile;
+ ranlib += cmSystemTools::ConvertToOutputPath(destfile.c_str());
if(!cmSystemTools::RunSingleCommand(ranlib.c_str()))
{
std::string err = "ranlib failed: ";