Armadillo package does not include CMake or pkg-config configuration files

Bug #1868783 reported by Lukas Riedel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
armadillo (Debian)
Fix Released
Unknown
armadillo (Ubuntu)
New
Undecided
Unassigned

Bug Description

For using software libraries in downstream projects, CMake configuration files and pkg-config configuration files are very helpful. They not only include the locations of the library binaries and header files, but also compiler and linker flags that are required when using the library.

When building and installing Armadillo from source, the CMake build system provides the CMake configuration and version files at the locations

${prefix}/share/Armadillo/CMake/ArmadilloConfig.cmake
${prefix}/share/Armadillo/CMake/ArmadilloConfigVersion.cmake

and the pkg-config configuration file at

${prefix}/lib/pkgconfig/armadillo.pc

However, these files are missing from the APT distribution and are not installed when executing

apt install libarmadillo-dev

This requires downstream modules to implement their own `FindArmadillo.cmake`, which is error-prone and does not propagate information like compiler flags and software version numbers.

This issue is present on

Ubuntu Eoan (19.10) with package libarmadillo-dev (1:9.600.5+dfsg-1)

and

Ubuntu Bionic (18.04LTS) with package libarmadillo-dev (1:8.400.0+dfsg-2)

Please include the CMake and pkg-config configuration files into the distribution of the `libarmadillo-dev` package.

Changed in armadillo (Debian):
status: Unknown → New
Changed in armadillo (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.