LINTIAN

# `package-contains-cmake-private-file`

The package ships a file in a location reserved for `CMake`. It usually means you shipped a `Find` module.

Libraries should not ship Find modules Config files. Config files should be installed in the unversioned path `usr/(lib/<arch>|lib|share)/cmake/<name>*/`

When CMake Config files are installed in an unversioned path, your package will continue to work when a new version of CMake is uploaded.

Severity: | `error`
Experimental: | `false`

## See also

- https://wiki.debian.org/CMake

- https://cmake.org/cmake/help/v3.10/manual/cmake-packages.7.html#config-file-packages

- list of all the affected packages
- the source of this tag