https://github.com/Kitware/CMake
Revision f70da4ed836fa40572d2db393b4bf24a87ba3a87 authored by Kitware Robot on 04 June 2018, 04:01:05 UTC, committed by Kitware Robot on 04 June 2018, 04:01:05 UTC
1 parent 72d5f23
Raw File
Tip revision: f70da4ed836fa40572d2db393b4bf24a87ba3a87 authored by Kitware Robot on 04 June 2018, 04:01:05 UTC
CMake Nightly Date Stamp
Tip revision: f70da4e
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