Lintian Reports

E package-contains-cmake-private-file

All reports of package-contains-cmake-private-file for the archive. The extended description of this tag is:

This package contains a file in a path reserved solely for CMake. This normally means you are shipping a Find module. Libraries should not ship Find modules at all but Config files instead.

The Config files should be installed in the unversioned path usr/(lib/<arch>|lib|share)/cmake/<name>*/

By using CMake Config files in the unversioned path, the package will continue to work as expected when a new version of CMake is uploaded.

Refer to and for details.

Severity: error

Check: build-systems/cmake

This tag has not been emitted in any package tested by Lintian.