make sure correct path type is used
This commit is contained in:
parent
d13e654ba6
commit
621c84f9e0
|
@ -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: ";
|
||||||
|
|
Loading…
Reference in New Issue