[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cmake GNUInstallDirs question

On Sat, Sep 12, 2015 at 12:46 AM, Rebecca N. Palmer <rebecca_palmer@zoho.com> wrote:
It outputs "lib: lib". No arch triplet. Is this expected?
Yes; you probably want ${CMAKE_INSTALL_FULL_LIBDIR}.


Thanks for the idea, but I found a different resolution. $CMAKE_INSTALL_LIBDIR  returns "lib/$triplet" when install prefix is /usr. The other problem I was having in packaging was that the project() line was after the include(GNUInstallDirs) and it needed to be before.

Reply to: