Bug#798739: cmake: GNUInstallDirs reports CMAKE_INSTALL_LIBDIR as "lib" instead of "lib/$triplet"

Andrew Kelley superjoe30 at gmail.com
Sat Sep 12 07:13:20 UTC 2015

Package: cmake
Version: 3.2.2-2+b1
Severity: important

Here is a simple CMakeLists.txt file:

message("lib: ${CMAKE_INSTALL_LIBDIR}")

It outputs: "lib: lib". No arch triplet.

I also tested this with cmake from experimental, currently version

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.1.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cmake depends on:
ii  cmake-data     3.2.2-2
ii  dpkg           1.18.2
ii  libarchive13   3.1.2-11+b1
ii  libc6          2.19-19
ii  libcurl3       7.44.0-1
ii  libexpat1      2.1.0-7
ii  libgcc1        1:5.2.1-17
ii  libjsoncpp0v5  0.10.5-1
ii  libstdc++6     5.2.1-17
ii  procps         2:3.3.10-4
ii  zlib1g         1:1.2.8.dfsg-2+b1

Versions of packages cmake recommends:
ii  gcc   4:5.2.1-4
ii  make  4.0-8.2

Versions of packages cmake suggests:
pn  codeblocks   <none>
pn  eclipse      <none>
pn  ninja-build  <none>

-- no debconf information

More information about the pkg-multimedia-maintainers mailing list