Lintian Reports (Beta Testing)

E package-contains-cmake-private-file

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 https://wiki.debian.org/CMake and https://cmake.org/cmake/help/v3.10/manual/cmake-packages.7.html#config-file-packages for details.

Severity: error

Check: build-systems/cmake

These source packages in the archive trigger the tag.