summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-04-07 20:09:13 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-04-07 20:09:13 (GMT)
commitf50e904fafb84dc6ce21698cfd53bb330c0aeb20 (patch)
tree05fdb19e3b318328a1430c328851db849be172b0 /Source/cmGlobalXCodeGenerator.cxx
parent5fb834217794525925a822d3cd7cc2e372555a75 (diff)
downloadCMake-f50e904fafb84dc6ce21698cfd53bb330c0aeb20.zip
CMake-f50e904fafb84dc6ce21698cfd53bb330c0aeb20.tar.gz
CMake-f50e904fafb84dc6ce21698cfd53bb330c0aeb20.tar.bz2
ENH: fix install test with xcode, the xcode generator does not support library versioning yet
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 6848dd1..0168ebf 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -42,6 +42,7 @@ void cmGlobalXCodeGenerator::EnableLanguage(std::vector<std::string>const&
lang,
cmMakefile * mf)
{
+ mf->AddDefinition("XCODE","1");
mf->AddDefinition("CMAKE_CFG_INTDIR",".");
mf->AddDefinition("CMAKE_GENERATOR_CC", "gcc");
mf->AddDefinition("CMAKE_GENERATOR_CXX", "g++");