From b28c2625c7472ae7b426741f0dc65a3e1c16b3c7 Mon Sep 17 00:00:00 2001 From: Brad King Date: Sun, 20 Jan 2008 13:36:13 -0500 Subject: COMP: Fix build during bootstrap on MSys. --- Source/cmake.cxx | 4 ++-- 1 file 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& 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) { -- cgit v0.12