... | ... | @@ -3,17 +3,17 @@ |
|
|
CMake 2.8.5 and later provide two central locations to register packages
|
|
|
that have been built or installed anywhere on a system:
|
|
|
|
|
|
- [User Package Registry](#User "wikilink")
|
|
|
- [System Package Registry](#System "wikilink")
|
|
|
- [User Package Registry](#user "wikilink")
|
|
|
- [System Package Registry](#system "wikilink")
|
|
|
|
|
|
The registries are especially useful to help project find packages in
|
|
|
non-standard install locations or directly in their own build trees. A
|
|
|
project may populate either the user or system registry (using its own
|
|
|
means, see below) to refer to its location. In either case the package
|
|
|
should store at the registered location a [package configuration
|
|
|
file](doc/tutorials/Packaging#Package_Configuration_Files "wikilink")
|
|
|
file](doc/tutorials/Packaging#package-configuration-files "wikilink")
|
|
|
(<package>`Config.cmake`) and optionally a [package version
|
|
|
file](doc/tutorials/Packaging#Package_Version_Files "wikilink")
|
|
|
file](doc/tutorials/Packaging#package-version-files "wikilink")
|
|
|
(<package>`ConfigVersion.cmake`).
|
|
|
|
|
|
The `find_package` command searches the two package registries as two of
|
... | ... | |