ソースを参照

COMP: Restored shared local variable removed by previous change.

Brad King 18 年 前
コミット
0e15f3412f
1 ファイル変更3 行追加0 行削除
  1. 3 0
      Source/cmGlobalXCodeGenerator.cxx

+ 3 - 0
Source/cmGlobalXCodeGenerator.cxx

@@ -1067,6 +1067,9 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
 {
   std::string flags;
   std::string defFlags;
+  bool shared = ((target.GetType() == cmTarget::SHARED_LIBRARY) ||
+                 (target.GetType() == cmTarget::MODULE_LIBRARY));
+
   // Add the export symbol definition for shared library objects.
   if(const char* exportMacro = target.GetExportMacro())
     {