COMP: Fix build during bootstrap on MSys.

This commit is contained in:
Brad King 2008-01-20 13:36:13 -05:00
parent 983625e2b5
commit b28c2625c7
1 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@
#endif #endif
#include "cmGlobalUnixMakefileGenerator3.h" #include "cmGlobalUnixMakefileGenerator3.h"
#if defined(_WIN32) #if defined(CMAKE_HAVE_VS_GENERATORS)
#include "cmCallVisualStudioMacro.h" #include "cmCallVisualStudioMacro.h"
#endif #endif
@ -1337,7 +1337,7 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args)
return result; return result;
} }
#if defined(_WIN32) #if defined(CMAKE_HAVE_VS_GENERATORS)
// Internal CMake support for calling Visual Studio macros. // Internal CMake support for calling Visual Studio macros.
else if (args[1] == "cmake_call_visual_studio_macro" && args.size() >= 4) else if (args[1] == "cmake_call_visual_studio_macro" && args.size() >= 4)
{ {