make sure correct path type is used

This commit is contained in:
Bill Hoffman 2005-08-23 10:24:01 -04:00
parent d13e654ba6
commit 621c84f9e0
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ bool cmFileCommand::HandleInstallCommand(
#if defined(__APPLE_CC__) #if defined(__APPLE_CC__)
{ {
std::string ranlib = "ranlib "; std::string ranlib = "ranlib ";
ranlib += destfile; ranlib += cmSystemTools::ConvertToOutputPath(destfile.c_str());
if(!cmSystemTools::RunSingleCommand(ranlib.c_str())) if(!cmSystemTools::RunSingleCommand(ranlib.c_str()))
{ {
std::string err = "ranlib failed: "; std::string err = "ranlib failed: ";