summaryrefslogtreecommitdiffstats
path: root/Source/FLTKDialog/FLTKDialog.cxx
diff options
context:
space:
mode:
authorLuis Ibanez <luis.ibanez@kitware.com>2001-06-15 11:51:55 (GMT)
committerLuis Ibanez <luis.ibanez@kitware.com>2001-06-15 11:51:55 (GMT)
commitf055e512ae5e6f808e321ca27f3a9bcfd4ba1165 (patch)
tree4622a1311b8ba443b5cd2bc24a1c31494269d1c9 /Source/FLTKDialog/FLTKDialog.cxx
parent38776d829b29d0a317e35bccfc7655c94d8dc04a (diff)
downloadCMake-f055e512ae5e6f808e321ca27f3a9bcfd4ba1165.zip
CMake-f055e512ae5e6f808e321ca27f3a9bcfd4ba1165.tar.gz
CMake-f055e512ae5e6f808e321ca27f3a9bcfd4ba1165.tar.bz2
ENH: Absolute path to cmake resolved
Diffstat (limited to 'Source/FLTKDialog/FLTKDialog.cxx')
-rw-r--r--Source/FLTKDialog/FLTKDialog.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/FLTKDialog/FLTKDialog.cxx b/Source/FLTKDialog/FLTKDialog.cxx
index 5933ef5..39a3c38 100644
--- a/Source/FLTKDialog/FLTKDialog.cxx
+++ b/Source/FLTKDialog/FLTKDialog.cxx
@@ -3,7 +3,7 @@
#include "FL/Fl.h"
#include "FL/fl_ask.H"
-int main()
+int main(int argc, char * argv[] )
{
fl_message_font(FL_HELVETICA,11);
@@ -11,6 +11,7 @@ int main()
CMakeSetupGUIImplementation * gui
= new CMakeSetupGUIImplementation;
+ gui->SetPathToExecutable( argv[0] );
gui->Show();
gui->LoadCacheFromDiskToGUI();