diff options
Diffstat (limited to 'Source/cmOSXBundleGenerator.cxx')
-rw-r--r-- | Source/cmOSXBundleGenerator.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmOSXBundleGenerator.cxx b/Source/cmOSXBundleGenerator.cxx index 9a086ca..55e20ab 100644 --- a/Source/cmOSXBundleGenerator.cxx +++ b/Source/cmOSXBundleGenerator.cxx @@ -113,7 +113,7 @@ void cmOSXBundleGenerator::CreateFramework( newName = versions; newName += "/Current"; cmSystemTools::RemoveFile(newName); - cmSystemTools::CreateSymlink(oldName.c_str(), newName.c_str()); + cmSystemTools::CreateSymlink(oldName, newName); this->Makefile->AddCMakeOutputFile(newName); // foo -> Versions/Current/foo @@ -122,7 +122,7 @@ void cmOSXBundleGenerator::CreateFramework( newName = contentdir; newName += name; cmSystemTools::RemoveFile(newName); - cmSystemTools::CreateSymlink(oldName.c_str(), newName.c_str()); + cmSystemTools::CreateSymlink(oldName, newName); this->Makefile->AddCMakeOutputFile(newName); // Resources -> Versions/Current/Resources @@ -133,7 +133,7 @@ void cmOSXBundleGenerator::CreateFramework( newName = contentdir; newName += "Resources"; cmSystemTools::RemoveFile(newName); - cmSystemTools::CreateSymlink(oldName.c_str(), newName.c_str()); + cmSystemTools::CreateSymlink(oldName, newName); this->Makefile->AddCMakeOutputFile(newName); } @@ -145,7 +145,7 @@ void cmOSXBundleGenerator::CreateFramework( newName = contentdir; newName += "Headers"; cmSystemTools::RemoveFile(newName); - cmSystemTools::CreateSymlink(oldName.c_str(), newName.c_str()); + cmSystemTools::CreateSymlink(oldName, newName); this->Makefile->AddCMakeOutputFile(newName); } @@ -157,7 +157,7 @@ void cmOSXBundleGenerator::CreateFramework( newName = contentdir; newName += "PrivateHeaders"; cmSystemTools::RemoveFile(newName); - cmSystemTools::CreateSymlink(oldName.c_str(), newName.c_str()); + cmSystemTools::CreateSymlink(oldName, newName); this->Makefile->AddCMakeOutputFile(newName); } } |