From: Stephane Desneux Date: Mon, 14 Oct 2019 13:16:42 +0000 (+0200) Subject: Pkg config files: use CMAKE_INSTALL_LIBDIR var X-Git-Tag: 8.0.3^0 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=019054dc28dff58b74f6c28be9bb13b3e8460b94;p=src%2Flibafb-helpers.git Pkg config files: use CMAKE_INSTALL_LIBDIR var library folders may be lib or lib64 so use cmake CMAKE_INSTALL_LIBDIR variable instead of lib Bug-AGL: SPEC-2846 (cherry picked from commit 25bb4512a2c2bc66f9eb255a872600f67bd4943f original author: clement.benier@iot.bzh) Change-Id: I7a63052990a5268f971b08c0640b6bb199b272d3 Signed-off-by: Stephane Desneux --- diff --git a/afb-helpers-qt.pc.in b/afb-helpers-qt.pc.in index 772aeb6..9a7a5a9 100644 --- a/afb-helpers-qt.pc.in +++ b/afb-helpers-qt.pc.in @@ -18,7 +18,7 @@ prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} -libdir=${exec_prefix}/lib +libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=${prefix}/include Name: @TARGET_NAME@-qt diff --git a/afb-helpers.pc.in b/afb-helpers.pc.in index 513e064..56f632a 100644 --- a/afb-helpers.pc.in +++ b/afb-helpers.pc.in @@ -18,7 +18,7 @@ prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} -libdir=${exec_prefix}/lib +libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=${prefix}/include Name: @TARGET_NAME@