mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
Help: Improve formatting of variable documentation
Improve formatting, primarily by: * Adding links to relevant commands, properties, generators, and so on. * Converting code, symbols, paths, and so on to fixed-width fonts. * Hard wrapping lines to 80 characters or less.
This commit is contained in:
committed by
Brad King
parent
404d16e7bc
commit
3bb707f0a1
@@ -1,10 +1,11 @@
|
||||
CMAKE_DISABLE_FIND_PACKAGE_<PackageName>
|
||||
----------------------------------------
|
||||
|
||||
Variable for disabling find_package() calls.
|
||||
Variable for disabling :command:`find_package` calls.
|
||||
|
||||
Every non-REQUIRED find_package() call in a project can be disabled by
|
||||
setting the variable CMAKE_DISABLE_FIND_PACKAGE_<PackageName> to TRUE.
|
||||
Every non-``REQUIRED`` :command:`find_package` call in a project can be
|
||||
disabled by setting the variable
|
||||
``CMAKE_DISABLE_FIND_PACKAGE_<PackageName>`` to ``TRUE``.
|
||||
This can be used to build a project without an optional package,
|
||||
although that package is installed.
|
||||
|
||||
@@ -12,4 +13,4 @@ This switch should be used during the initial CMake run. Otherwise if
|
||||
the package has already been found in a previous CMake run, the
|
||||
variables which have been stored in the cache will still be there. In
|
||||
that case it is recommended to remove the cache variables for this
|
||||
package from the cache using the cache editor or cmake -U
|
||||
package from the cache using the cache editor or :manual:`cmake(1)` ``-U``
|
||||
|
||||
Reference in New Issue
Block a user