summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.h
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/cmDocumentation.h
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/cmDocumentation.h')
-rw-r--r--Source/cmDocumentation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h
index a4072c5..07e614d 100644
--- a/Source/cmDocumentation.h
+++ b/Source/cmDocumentation.h
@@ -84,7 +84,7 @@ public:
cmDocumentationEntry &docs);
/** Set cmake root so we can find installed files */
- void SetCMakeRoot(const char* root) { this->CMakeRoot = root;}
+ void SetCMakeRoot(const char* root) { this->CMakeRoot = root? root:"";}
/** Add common (to all tools) documentation section(s) */
void addCommonStandardDocSections();