diff options
author | Brad King <brad.king@kitware.com> | 2007-03-28 03:15:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-03-28 03:15:59 (GMT) |
commit | 0e15f3412f6e3b6a05267dd64a968167d32a1385 (patch) | |
tree | e4d62e7f38c8282ec7bed21024b8a902de43b745 /Source/cmGlobalXCodeGenerator.cxx | |
parent | af95f61d76f2a9e86aed35adae5302c8c60fdb35 (diff) | |
download | CMake-0e15f3412f6e3b6a05267dd64a968167d32a1385.zip CMake-0e15f3412f6e3b6a05267dd64a968167d32a1385.tar.gz CMake-0e15f3412f6e3b6a05267dd64a968167d32a1385.tar.bz2 |
COMP: Restored shared local variable removed by previous change.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 630fda3..6c2d258 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()) { |