CMAKE_EXPORT_NO_PACKAGE_REGISTRY — CMake 3.4.3 Documentation

### Navigation

- index
- next |
- previous |
- CMake »
- 3.4.3 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.4.3 Documentation »
- cmake-variables(7) »