In some cases, for example for packaging and for system wide installations, it is not desirable to write the user package registry. If the
CMAKE_EXPORT_NO_PACKAGE_REGISTRY variable is enabled, the
export(PACKAGE) command will do nothing.
See also Disabling the Package Registry.
© 2000–2019 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.