mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
find_package: Add option to prefer Config mode
Add a `CMAKE_FIND_PACKAGE_PREFER_CONFIG` variable to tell `find_package` calls to look for a package configuration file first even if a find module is available. Fixes: #16805, #19236
This commit is contained in:
6
Help/release/dev/find-package-prefer-config.rst
Normal file
6
Help/release/dev/find-package-prefer-config.rst
Normal file
@@ -0,0 +1,6 @@
|
||||
find-package-prefer-config
|
||||
--------------------------
|
||||
|
||||
* Variable :variable:`CMAKE_FIND_PACKAGE_PREFER_CONFIG` was added to tell
|
||||
:command:`find_package` calls to look for a package configuration
|
||||
file first even if a find module is available.
|
||||
Reference in New Issue
Block a user