From 58879a48fcb0a059ee96753fc6cc6341448a0015 Mon Sep 17 00:00:00 2001 From: Kyle Guinn Date: Wed, 5 Oct 2016 22:36:01 -0500 Subject: Improve pkgconfig file generation The prefix and libdir lines at the top of the .pc files are variable declarations. Set these variables appropriately, reference them in the rest of the file, and prevent cmake from expanding ${}-style references. Switch back to @prefix@ and @libdir@ for compatibility with autoconf. Make the descriptions consistent and update the URLs. --- lapack.pc.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lapack.pc.in') diff --git a/lapack.pc.in b/lapack.pc.in index 4d4fe013..878efc2e 100644 --- a/lapack.pc.in +++ b/lapack.pc.in @@ -1,9 +1,9 @@ -prefix=@CMAKE_INSTALL_PREFIX@ -libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@ +prefix=@prefix@ +libdir=@libdir@ -Name: lapack +Name: LAPACK Description: FORTRAN reference implementation of LAPACK Linear Algebra PACKage Version: @LAPACK_VERSION@ URL: http://www.netlib.org/lapack/ -Libs: -L@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@ -llapack +Libs: -L${libdir} -llapack Requires: blas -- cgit v1.2.3