summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-12-22 11:46:04 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-12-22 11:47:54 (GMT)
commit310455cc188c52373637f984b99017884e802e8a (patch)
tree94cef4d1347d93f3e7b67be6f1acc25b9c0d1b2d /Source/cmake.cxx
parent0d3b89ed7634598ef446da6b279f79b8bce20dd2 (diff)
downloadCMake-310455cc188c52373637f984b99017884e802e8a.zip
CMake-310455cc188c52373637f984b99017884e802e8a.tar.gz
CMake-310455cc188c52373637f984b99017884e802e8a.tar.bz2
Fix some warnings from -Wundef
Other warnings come from kwsys, so the flag can't be enabled.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index fba4860..a44c825 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -953,7 +953,7 @@ int cmake::AddCMakePaths()
cMakeSelf = cmSystemTools::GetRealPath(cMakeSelf.c_str());
cMakeSelf += "/cmake";
cMakeSelf += cmSystemTools::GetExecutableExtension();
-#if __APPLE__
+#ifdef __APPLE__
// on the apple this might be the gui bundle
if(!cmSystemTools::FileExists(cMakeSelf.c_str()))
{