diff options
author | Luis Ibanez <luis.ibanez@kitware.com> | 2001-06-15 07:51:55 -0400 |
---|---|---|
committer | Luis Ibanez <luis.ibanez@kitware.com> | 2001-06-15 07:51:55 -0400 |
commit | f055e512ae5e6f808e321ca27f3a9bcfd4ba1165 (patch) | |
tree | 4622a1311b8ba443b5cd2bc24a1c31494269d1c9 /Source/FLTKDialog/FLTKDialog.cxx | |
parent | 38776d829b29d0a317e35bccfc7655c94d8dc04a (diff) | |
download | cmake-f055e512ae5e6f808e321ca27f3a9bcfd4ba1165.tar.gz |
ENH: Absolute path to cmake resolved
Diffstat (limited to 'Source/FLTKDialog/FLTKDialog.cxx')
-rw-r--r-- | Source/FLTKDialog/FLTKDialog.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/FLTKDialog/FLTKDialog.cxx b/Source/FLTKDialog/FLTKDialog.cxx index 5933ef5b24..39a3c38f13 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(); |