From 0e15f3412f6e3b6a05267dd64a968167d32a1385 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 27 Mar 2007 23:15:59 -0400 Subject: [PATCH] COMP: Restored shared local variable removed by previous change. --- Source/cmGlobalXCodeGenerator.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 630fda3a2..6c2d25860 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/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()) {