Public bug reported:

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.

** Affects: armadillo (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868783

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/armadillo/+bug/1868783/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to