summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-20 18:36:13 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-20 18:36:13 (GMT)
commitb28c2625c7472ae7b426741f0dc65a3e1c16b3c7 (patch)
tree47877c0912d6dcb242110fd10a9c0f291202932f /Source/cmake.cxx
parent983625e2b5ef4de29a0da286932de946a9ad6add (diff)
downloadCMake-b28c2625c7472ae7b426741f0dc65a3e1c16b3c7.zip
CMake-b28c2625c7472ae7b426741f0dc65a3e1c16b3c7.tar.gz
CMake-b28c2625c7472ae7b426741f0dc65a3e1c16b3c7.tar.bz2
COMP: Fix build during bootstrap on MSys.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index f43f191..7989a0e 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -78,7 +78,7 @@
#endif
#include "cmGlobalUnixMakefileGenerator3.h"
-#if defined(_WIN32)
+#if defined(CMAKE_HAVE_VS_GENERATORS)
#include "cmCallVisualStudioMacro.h"
#endif
@@ -1337,7 +1337,7 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args)
return result;
}
-#if defined(_WIN32)
+#if defined(CMAKE_HAVE_VS_GENERATORS)
// Internal CMake support for calling Visual Studio macros.
else if (args[1] == "cmake_call_visual_studio_macro" && args.size() >= 4)
{