cmake: Update --help output to discourage use of --find-package mode

Fixes: #21056
This commit is contained in:
Brad King
2020-08-04 12:02:54 -04:00
parent 5becf28f92
commit c0e4a0bd82

View File

@@ -71,7 +71,7 @@ const char* cmDocumentationOptions[][2] = {
{ "--open <dir>", "Open generated project in the associated application." },
{ "-N", "View mode only." },
{ "-P <file>", "Process script mode." },
{ "--find-package", "Run in pkg-config like mode." },
{ "--find-package", "Legacy pkg-config like mode. Do not use." },
{ "--graphviz=[file]",
"Generate graphviz of dependencies, see "
"CMakeGraphVizOptions.cmake for more." },