summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/ccmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-17 12:57:45 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-10-17 12:57:45 (GMT)
commit8f2b0c330706fe479fb0804b3526bf28503cd52a (patch)
treea9fec60998ed8a05e189fd0d454b8830e2c54977 /Source/CursesDialog/ccmake.cxx
parentfa8fc51aec1ca6454bb0a65a95d8792680283724 (diff)
parent9b212ad01a31bebe30975ab43a6a675eb78f9144 (diff)
downloadCMake-8f2b0c330706fe479fb0804b3526bf28503cd52a.zip
CMake-8f2b0c330706fe479fb0804b3526bf28503cd52a.tar.gz
CMake-8f2b0c330706fe479fb0804b3526bf28503cd52a.tar.bz2
Merge topic 'help-manual-cleanup'
9b212ad Make --help-* options available from all command-line tools 5dde65a Help: De-duplicate manual/(cmake|ccmake).1.rst build options ae944d1 Help: Organize manual/*.1.rst sections 4f7d708 Help: Drop leftover conversion content from manual/*.1.rst
Diffstat (limited to 'Source/CursesDialog/ccmake.cxx')
-rw-r--r--Source/CursesDialog/ccmake.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx
index 3855d53..fdfe331 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<cmDocumentationEntry> generators;
hcm.GetGeneratorDocumentation(generators);
doc.SetName("ccmake");