https://github.com/Kitware/CMake
Raw File
Tip revision: 8bd6af0d6386d1e0b26ff594b7d42621d67b5985 authored by Brad King on 02 May 2017, 12:40:39 UTC
CMake 3.8.1
Tip revision: 8bd6af0
CMAKE_EXPORT_NO_PACKAGE_REGISTRY.rst
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
--------------------------------

Disable the :command:`export(PACKAGE)` command.

In some cases, for example for packaging and for system wide
installations, it is not desirable to write the user package registry.
If the :variable:`CMAKE_EXPORT_NO_PACKAGE_REGISTRY` variable is enabled,
the :command:`export(PACKAGE)` command will do nothing.

See also :ref:`Disabling the Package Registry`.
back to top