diff options
author | Craig Scott <craig.scott@crascit.com> | 2022-03-09 11:15:34 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2022-03-13 03:29:05 (GMT) |
commit | 5cb0a730c9fa4f1be2edccd0fe9bfa1d59a2787d (patch) | |
tree | ebd3d93a6262ed3b1631d9474ed56b6c3d523343 /Help/variable/IGNORE_SEARCH_PREFIX.txt | |
parent | 736e80dbcafc4c46950688b915e0688f1b817862 (diff) | |
download | CMake-5cb0a730c9fa4f1be2edccd0fe9bfa1d59a2787d.zip CMake-5cb0a730c9fa4f1be2edccd0fe9bfa1d59a2787d.tar.gz CMake-5cb0a730c9fa4f1be2edccd0fe9bfa1d59a2787d.tar.bz2 |
Help: Clarify behavior of search ignore-related variables
Not all the behaviors of CMake variables for ignoring search
locations by find_...() commands were fully documented.
Add the missing effects, clarify the wording and restructure the
way the details are assembled to reduce duplication.
Also improve the cross-referencing to ensure all the related
variables are more discoverable.
Issue: #20878
Diffstat (limited to 'Help/variable/IGNORE_SEARCH_PREFIX.txt')
-rw-r--r-- | Help/variable/IGNORE_SEARCH_PREFIX.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/variable/IGNORE_SEARCH_PREFIX.txt b/Help/variable/IGNORE_SEARCH_PREFIX.txt new file mode 100644 index 0000000..f5ec3dc --- /dev/null +++ b/Help/variable/IGNORE_SEARCH_PREFIX.txt @@ -0,0 +1,6 @@ +:ref:`Semicolon-separated list <CMake Language Lists>` of search *prefixes* +to be ignored by the :command:`find_program`, :command:`find_library`, +:command:`find_file`, and :command:`find_path` commands. +The prefixes are also ignored by the *Config mode* of the +:command:`find_package` command (*Module mode* is unaffected). +To ignore specific directories instead, see |CMAKE_IGNORE_NONPREFIX_VAR|. |