[Pkg-cmake-team] Bug#798739: Bug#798739: cmake: GNUInstallDirs reports CMAKE_INSTALL_LIBDIR as "lib" instead of "lib/$triplet"
Felix Geyer
fgeyer at debian.org
Sat Sep 12 08:12:15 UTC 2015
On 12.09.2015 09:13, Andrew Kelley wrote:
> Package: cmake
> Version: 3.2.2-2+b1
> Severity: important
>
>
> Here is a simple CMakeLists.txt file:
>
> include(GNUInstallDirs)
> message("lib: ${CMAKE_INSTALL_LIBDIR}")
>
> It outputs: "lib: lib". No arch triplet.
>
> I also tested this with cmake from experimental, currently version
> 3.3.1.
% cmake -DCMAKE_INSTALL_PREFIX=/usr .
lib: lib/x86_64-linux-gnu
-- Configuring done
cmake install to the multi-arch path only when the prefix is set to /usr.
The git commit has some more information:
https://github.com/Kitware/CMake/commit/620939e4e6f5a61cd5c0fac2704de4bfda0eb7ef
Cheers,
Felix
More information about the Pkg-cmake-team
mailing list