mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05: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:
@@ -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