From 9b212ad01a31bebe30975ab43a6a675eb78f9144 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 16 Oct 2013 12:54:52 -0400 Subject: Make --help-* options available from all command-line tools Make the standard --help-* options available from all command-line tools. Drop options that are no longer supported: --copyright, --help-full, --help-html, --help-man, --help-compatcommands, --help-custom-modules De-duplicate Help/manual/*.1.rst help options by using an OPTIONS_HELP.txt file included from each manual. --- Source/CursesDialog/ccmake.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/CursesDialog') diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx index 3855d530a4..fdfe331c34 100644 --- a/Source/CursesDialog/ccmake.cxx +++ b/Source/CursesDialog/ccmake.cxx @@ -86,6 +86,8 @@ int main(int argc, char** argv) if(doc.CheckOptions(argc, argv)) { cmake hcm; + hcm.AddCMakePaths(); + doc.SetCMakeRoot(hcm.GetCacheDefinition("CMAKE_ROOT")); std::vector generators; hcm.GetGeneratorDocumentation(generators); doc.SetName("ccmake"); -- cgit v1.2.1