EXPORT_FIND_PACKAGE_NAME
Note
Experimental. Gated by CMAKE_EXPERIMENTAL_EXPORT_PACKAGE_DEPENDENCIES.
Control the package name associated with a dependency target when exporting a find_dependency() call in install(PACKAGE_INFO), export(PACKAGE_INFO), install(EXPORT) or export(EXPORT). This can be used to assign a package name to a package that is built by CMake and exported, or a package that was provided by FetchContent.
This property is initialized by CMAKE_EXPORT_FIND_PACKAGE_NAME.
© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/prop_tgt/EXPORT_FIND_PACKAGE_NAME.html