### Navigation

- index
- next |
- previous |
- CMake »
- 3.1.0 Documentation »
- cmake-variables(7) »

# CMAKE_EXPORT_NO_PACKAGE_REGISTRY

Disable the `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 `CMAKE_EXPORT_NO_PACKAGE_REGISTRY` variable is enabled, the `export(PACKAGE)` command will do nothing.

See also Disabling the Package Registry.

### Navigation

- index
- next |
- previous |
- CMake »
- 3.1.0 Documentation »
- cmake-variables(7) »