diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-05-29 15:14:48 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-05-29 15:14:48 (GMT) |
commit | dfd22fdf23f09d311f197b6f596dbcd3163b4914 (patch) | |
tree | af412e131d692674059f69511cb23f5b55342e88 /Source/CursesDialog/ccmake.cxx | |
parent | 1e09bc5dde0dd4419861e510ea339ecf98a580a0 (diff) | |
download | CMake-dfd22fdf23f09d311f197b6f596dbcd3163b4914.zip CMake-dfd22fdf23f09d311f197b6f596dbcd3163b4914.tar.gz CMake-dfd22fdf23f09d311f197b6f596dbcd3163b4914.tar.bz2 |
ENH: On envocation of ccmake check if directories are correct, but do not rerun configure
Diffstat (limited to 'Source/CursesDialog/ccmake.cxx')
-rw-r--r-- | Source/CursesDialog/ccmake.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx index 5218205..03fdb3f 100644 --- a/Source/CursesDialog/ccmake.cxx +++ b/Source/CursesDialog/ccmake.cxx @@ -189,8 +189,11 @@ int main(int argc, char** argv) cmCursesForm::CurrentForm = myform; myform->InitializeUI(); - myform->Render(1, 1, x, y); - myform->HandleInput(); + if ( myform->Configure(1) == 0 ) + { + myform->Render(1, 1, x, y); + myform->HandleInput(); + } // Need to clean-up better curses_clear(); |