summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-08-10 00:05:33 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-08-11 20:43:45 (GMT)
commitd3ae0fff7dea00775f8c6e8bed59a494f102999c (patch)
treed112f5a4343f7752598e6c72ee4fee92e1603605 /Source/cmakemain.cxx
parentbf0737526419936915a9f2c14f06bff556d1fcd4 (diff)
downloadCMake-d3ae0fff7dea00775f8c6e8bed59a494f102999c.zip
CMake-d3ae0fff7dea00775f8c6e8bed59a494f102999c.tar.gz
CMake-d3ae0fff7dea00775f8c6e8bed59a494f102999c.tar.bz2
Improve documentation for --find-package mode
Alex
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index c744dcd..828d2aa 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -104,7 +104,9 @@ static const char * cmDocumentationOptions[][3] =
"before the -P argument."},
{"--find-package", "Run in pkg-config like mode.",
"Search a package using find_package() and print the resulting flags "
- "to stdout. "},
+ "to stdout. This can be used to use cmake instead of pkg-config to find "
+ "installed libraries in plain Makefile-based projects or in "
+ "autoconf-based projects (via share/aclocal/cmake.m4)."},
{"--graphviz=[file]", "Generate graphviz of dependencies.",
"Generate a graphviz input file that will contain all the library and "
"executable dependencies in the project."},