Re: cmake GNUInstallDirs question

2015-09-12 Thread Andrew Kelley
On Sat, Sep 12, 2015 at 12:46 AM, Rebecca N. Palmer wrote: > It outputs "lib: lib". No arch triplet. Is this expected? >> > Yes; you probably want ${CMAKE_INSTALL_FULL_LIBDIR}. > > http://www.cmake.org/cmake/help/v3.1/module/GNUInstallDirs.html > > https://anonscm.debian.org/cgit/pkg-opencl/beign

Re: cmake GNUInstallDirs question

2015-09-12 Thread Rebecca N. Palmer
It outputs "lib: lib". No arch triplet. Is this expected? Yes; you probably want ${CMAKE_INSTALL_FULL_LIBDIR}. http://www.cmake.org/cmake/help/v3.1/module/GNUInstallDirs.html https://anonscm.debian.org/cgit/pkg-opencl/beignet.git/tree/debian/patches/Enable-multiarch.patch?id=a4be256b30625db8829a

cmake GNUInstallDirs question

2015-09-11 Thread Andrew Kelley
Here is a simple CMakeLists.txt file: include(GNUInstallDirs) message("lib: ${CMAKE_INSTALL_LIBDIR}") It outputs "lib: lib". No arch triplet. Is this expected? This is cmake version 3.2.2 from unstable.