mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
Find*: Update *_FOUND variables
This marks all `<PACKAGENAME>_FOUND` result variables as deprecated where possible (for `<PackageName>` find modules) to make it clearer which variable to use. In CMake 3.3, the FindPackageHandleStandardArgs module was refactored to set both `<PackageName>_FOUND` and uppercase `<PACKAGENAME>_FOUND` result variables to the same values. Before that, the FOUND_VAR argument could be used to set the result variable. * FindMatlab: Uppercased MATLAB_FOUND is not mentioned as it was never documented. * Documentation for FindPythonInterp and FindPythonLibs modules synced accordingly to their deprecation (3.12 instead of 4.2). * OPENGL_FOUND: deprecation version synced with other find modules. * DevIL_FOUND was introduced in CMake 3.8. The uppercased variant not mentioned as it was previously never documented. Fixes: #27242
This commit is contained in:
@@ -361,10 +361,10 @@ reStructuredText-format documentation. For example:
|
||||
Result Variables
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
This will define the following variables:
|
||||
This module defines the following variables:
|
||||
|
||||
``Foo_FOUND``
|
||||
True if the system has the Foo library.
|
||||
Boolean indicating whether (the requested version of) Foo was found.
|
||||
``Foo_VERSION``
|
||||
The version of the Foo library which was found.
|
||||
``Foo_INCLUDE_DIRS``
|
||||
|
||||
Reference in New Issue
Block a user