Merge topic 'find-package-required'

857a039d66 find_*: Add variable to default calls to REQUIRED

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10364
This commit is contained in:
Brad King
2025-02-28 16:15:04 +00:00
committed by Kitware Robot
38 changed files with 337 additions and 22 deletions
+8
View File
@@ -0,0 +1,8 @@
cmake-find-required
-------------------
* The :variable:`CMAKE_FIND_REQUIRED` variable was added to tell
:command:`find_package`, :command:`find_path`, :command:`find_file`,
:command:`find_library`, and :command:`find_program` to be ``REQUIRED``
by default. The commands also gained an ``OPTIONAL`` keyword to ignore
the variable for a specific call.