cmake: Allow override of install directories
authorHauke Mehrtens <hmehrtens@maxlinear.com>
Tue, 5 Oct 2021 16:54:39 +0000 (18:54 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 22 Oct 2021 20:58:18 +0000 (22:58 +0200)
commitf84f49f00fb70364f58b4cce72f1796a7190d370
treecea1fc66efd48d27a65f3e482ed1cda38c55d68d
parent4b3db1179747b6a6779029407984bacef851325c
cmake: Allow override of install directories

Use the GNUInstallDirs include to allow callers to override the install
directories. This is helpful when building uci in build systems like
Yocto which prefer to use /usr/lib64 for the 64 bit libraries.

Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
CMakeLists.txt