ENH: Centralized and globalized computation of CMake program locations. This eliminates startup paths that failed to produce this information.

This commit is contained in:
Brad King
2007-12-13 17:56:50 -05:00
parent ebc036bbda
commit 9f61e2a235
15 changed files with 68 additions and 110 deletions
+1
View File
@@ -105,6 +105,7 @@ void CMakeErrorHandler(const char* message, const char* title, bool&, void* clie
int main(int argc, char** argv)
{
cmSystemTools::FindExecutableDirectory(argv[0]);
cmDocumentation doc;
if(doc.CheckOptions(argc, argv))
{