mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
The user package registry populated by the `export()` command causes side effects outside the build and source directories. Such effects should be opt-in rather than op-out. Introduce a policy to change default behavior of `export(PACKAGE)` to do nothing.
7 lines
209 B
ReStructuredText
7 lines
209 B
ReStructuredText
export-package-default-off
|
|
--------------------------
|
|
|
|
* The :command:`export(PACKAGE)` command now does nothing unless
|
|
enabled via :variable:`CMAKE_EXPORT_PACKAGE_REGISTRY`.
|
|
See policy :policy:`CMP0090`.
|