[cmake-commits] king committed cmLocalGenerator.cxx 1.165 1.166

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Dec 4 13:54:35 EST 2006


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

Modified Files:
	cmLocalGenerator.cxx 
Log Message:
BUG: Do not print empty install configuration repeatedly.


Index: cmLocalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalGenerator.cxx,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -d -r1.165 -r1.166
--- cmLocalGenerator.cxx	29 Nov 2006 20:59:15 -0000	1.165
+++ cmLocalGenerator.cxx	4 Dec 2006 18:54:32 -0000	1.166
@@ -361,7 +361,7 @@
   // Write support code for generating per-configuration install rules.
   fout <<
     "# Set the install configuration name.\n"
-    "IF(NOT CMAKE_INSTALL_CONFIG_NAME)\n"
+    "IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)\n"
     "  IF(BUILD_TYPE)\n"
     "    STRING(REGEX REPLACE \"^[^A-Za-z0-9_]+\" \"\"\n"
     "           CMAKE_INSTALL_CONFIG_NAME \"${BUILD_TYPE}\")\n"
@@ -370,7 +370,7 @@
     "  ENDIF(BUILD_TYPE)\n"
     "  MESSAGE(STATUS \"Install configuration: "
     "\\\"${CMAKE_INSTALL_CONFIG_NAME}\\\"\")\n"
-    "ENDIF(NOT CMAKE_INSTALL_CONFIG_NAME)\n"
+    "ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)\n"
     "\n";
 
   // Write support code for dealing with component-specific installs.



More information about the Cmake-commits mailing list