Tag: package-contains-cmake-private-file
Severity: error
Check: build-systems/cmake
Explanation: 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.
See-Also: https://wiki.debian.org/CMake, https://cmake.org/cmake/help/v3.10/manual/cmake-packages.7.html#config-file-packages