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

Re: CMake multiarch installation



> INCLUDE(GNUInstallDirs)

Thanks for the hint!
Is this something that one would typically patch in on a Debian level
or would it make sense to try and push this upstream as well?

Cheers,
Nico



On Mon, May 5, 2014 at 4:19 PM, Gert Wollny <gw.fossdev@gmail.com> wrote:
> On Mon, 2014-05-05 at 16:06 +0200, Nico Schlömer wrote:
>> Does anyone have hints about how Debian manages to slip in the
>> "x86_64-linux-gnu" part in the library install path?
>
> You have to add
>
> INCLUDE(GNUInstallDirs)
>
> to the CMakeLists.txt and use the according variables in the install
> command. cf:
> http://www.cmake.org/cmake/help/v2.8.12/cmake.html#module:GNUInstallDirs
>
> hope that helps,
> Gert
>


Reply to: