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

Re: CMake multiarch installation



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 

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: