[cmake-commits] king committed ccmake.cxx 1.36 1.37

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Dec 13 17:56:52 EST 2007


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

Modified Files:
	ccmake.cxx 
Log Message:
ENH: Centralized and globalized computation of CMake program locations.  This eliminates startup paths that failed to produce this information.


Index: ccmake.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CursesDialog/ccmake.cxx,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- ccmake.cxx	22 Oct 2007 16:48:39 -0000	1.36
+++ ccmake.cxx	13 Dec 2007 22:56:50 -0000	1.37
@@ -105,6 +105,7 @@
 
 int main(int argc, char** argv)
 {
+  cmSystemTools::FindExecutableDirectory(argv[0]);
   cmDocumentation doc;
   if(doc.CheckOptions(argc, argv))
     {



More information about the Cmake-commits mailing list