[cmake-commits] king committed cmake.cxx 1.353 1.354

cmake-commits at cmake.org cmake-commits at cmake.org
Sun Jan 20 13:36:15 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv19057

Modified Files:
	cmake.cxx 
Log Message:
COMP: Fix build during bootstrap on MSys.


Index: cmake.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmake.cxx,v
retrieving revision 1.353
retrieving revision 1.354
diff -u -d -r1.353 -r1.354
--- cmake.cxx	18 Jan 2008 15:25:25 -0000	1.353
+++ cmake.cxx	20 Jan 2008 18:36:13 -0000	1.354
@@ -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 @@
       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)
       {



More information about the Cmake-commits mailing list