Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-536

CMakeLists.txt install pgkconfig and cmake modue to wrong place

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.11.0, 0.12.0, 0.12.1
    • 0.13.0
    • Build
    • None

    Description

      While  packaging 0.12.1 for Debian I observed that the install target for the pkgconfig files and the cmake modules is set to ${CMAKE_INSTALL_DATAROOTDIR}, which is usually $PREFIX/share.

      However, those files should be installed to ${CMAKE_INSTALL_LIBDIR} (e.g $PREFIX/lib/${multi-arch-tuple}/...), as this is the place where cmake and pkgconfig will look for them.

      I have a patch ready, I will submit a PR later. The patch is available at:

      https://salsa.debian.org/debian/log4cxx/-/blob/debian/experimental/debian/patches/0001-Fix-pkgconfig-cmake-module-install-path.patch

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              coldtobi Tobias Frost
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: