瀏覽代碼

Merge topic 'osx-CFBundle-info-plist'

90e22f8f OS X: Fix Info.plist placement in a CFBundle
Brad King 11 年之前
父節點
當前提交
ede0419a37
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmOSXBundleGenerator.cxx

+ 1 - 1
Source/cmOSXBundleGenerator.cxx

@@ -178,7 +178,7 @@ void cmOSXBundleGenerator::CreateCFBundle(const std::string& targetName,
 
   // Configure the Info.plist file.  Note that it needs the executable name
   // to be set.
-  std::string plist =
+  std::string plist = root + "/" +
     this->GT->Target->GetCFBundleDirectory(this->ConfigName, true);
   plist += "/Info.plist";
   this->LocalGenerator->GenerateAppleInfoPList(this->GT->Target,