From 57eb4ca87af777129985c5940147578a3e2be8e7 Mon Sep 17 00:00:00 2001 From: Paul Fd Date: Tue, 20 Apr 2021 12:28:47 +0200 Subject: [PATCH] Use better variables for the pkg-config file The previous version created problems when setting manually CMAKE_INSTALL_LIBDIR on configure, e.g. for OBS/Debian packages. The `libdir` value ended up as `libdir=${exec_prefix}//usr/lib` in this case, leading pkg-config to complain (obviously). --- scripts/sfizz.pc.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/sfizz.pc.in b/scripts/sfizz.pc.in index 145f9db8..0d294c59 100644 --- a/scripts/sfizz.pc.in +++ b/scripts/sfizz.pc.in @@ -1,7 +1,7 @@ prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=@CMAKE_INSTALL_PREFIX@ -libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ -includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ +libdir=@CMAKE_INSTALL_FULL_LIBDIR@ +includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ Name: @PROJECT_NAME@ Description: @PROJECT_DESCRIPTION@