CMAKE_PKG_CONFIG_DISABLE_UNINSTALLED
Added in version 4.0.
Enable / Disable the default "uninstalled" search behavior of the cmake_pkg_config() command. When this variable is false, package files with an "-uninstalled" suffix have higher priority than exact package name matches.
© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/variable/CMAKE_PKG_CONFIG_DISABLE_UNINSTALLED.html