package-disable-registry.rst 433 B

1234567891011
  1. package-disable-registry
  2. ------------------------
  3. * The :command:`export(PACKAGE)` command learned to check the
  4. :variable:`CMAKE_EXPORT_NO_PACKAGE_REGISTRY` variable to skip
  5. exporting the package.
  6. * The :command:`find_package` command learned to check the
  7. :variable:`CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY` and
  8. :variable:`CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY`
  9. variables to skip searching the package registries.