https://github.com/Kitware/CMake
Raw File
Tip revision: d203761520f5dd21a9cc4de5c4ca0d0e4e188e34 authored by Brad King on 18 February 2016, 15:41:26 UTC
CMake 3.5.0-rc3
Tip revision: d203761
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