[cmake-commits] king committed FLTKDialog.cxx 1.7 1.8
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Dec 13 17:56:52 EST 2007
Update of /cvsroot/CMake/CMake/Source/FLTKDialog
In directory public:/mounts/ram/cvs-serv18488/Source/FLTKDialog
Modified Files:
FLTKDialog.cxx
Log Message:
ENH: Centralized and globalized computation of CMake program locations. This eliminates startup paths that failed to produce this information.
Index: FLTKDialog.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/FLTKDialog/FLTKDialog.cxx,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- FLTKDialog.cxx 23 Sep 2005 21:47:32 -0000 1.7
+++ FLTKDialog.cxx 13 Dec 2007 22:56:50 -0000 1.8
@@ -19,8 +19,11 @@
#include "FL/Fl.H"
#include "FL/fl_ask.H"
+#include "cmSystemTools.h"
+
int main(int argc, char * argv[] )
{
+ cmSystemTools::FindExecutableDirectory(argv[0]);
fl_message_font(FL_HELVETICA,11);
More information about the Cmake-commits
mailing list