summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-01-03 18:53:05 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-01-03 18:53:05 (GMT)
commit3475f51f57e1fcc7bda3bf2b25c71f419e86c698 (patch)
treeb79f159cf74888aac242b399a597065879be6bb1 /Source/cmake.cxx
parent62078eacd0b58d38441b63b6f1f137ad4ef8042a (diff)
parent310455cc188c52373637f984b99017884e802e8a (diff)
downloadCMake-3475f51f57e1fcc7bda3bf2b25c71f419e86c698.zip
CMake-3475f51f57e1fcc7bda3bf2b25c71f419e86c698.tar.gz
CMake-3475f51f57e1fcc7bda3bf2b25c71f419e86c698.tar.bz2
Merge topic 'fix-undef-warnings'
310455c Fix some warnings from -Wundef
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()))
{