Browse Source

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

Fixes: #21056
Brad King 5 years ago
parent
commit
c0e4a0bd82
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmakemain.cxx

+ 1 - 1
Source/cmakemain.cxx

@@ -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." },