Fix for pkgconfig files lapack.pc, blas.pc - PATCH sent by Christoph Conrads on March...
authorjulie <julielangou@users.noreply.github.com>
Wed, 2 Mar 2016 04:00:38 +0000 (04:00 +0000)
committerjulie <julielangou@users.noreply.github.com>
Wed, 2 Mar 2016 04:00:38 +0000 (04:00 +0000)
BLAS/blas.pc.in
lapack.pc.in

index 845a25c3667f4a7838046085e3e5289e73dba1bb..b8963c5bf64aaf709c7a7a35d924a17adba617c8 100644 (file)
@@ -1,9 +1,9 @@
-prefix=@prefix@
-libdir=@libdir@
+prefix=@CMAKE_INSTALL_PREFIX@
+libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
 
 Name: blas
 Description: Basic Linear Algebra Subprograms F77 reference implementations
 Version: @LAPACK_VERSION@
 URL: http://www.netlib.org/blas/
-Libs: -L${libdir} -lblas
+Libs: -L@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@ -lblas
 Libs.private: -lm
index d34c8708be43389a5ad2b22ff954d4ee19fd9e81..4d4fe0137a055fabf44177b1c3bf95d6a8a64ce7 100644 (file)
@@ -1,9 +1,9 @@
-prefix=@prefix@
-libdir=@libdir@
+prefix=@CMAKE_INSTALL_PREFIX@
+libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
 
 Name: lapack
 Description: FORTRAN reference implementation of LAPACK Linear Algebra PACKage
 Version: @LAPACK_VERSION@
 URL: http://www.netlib.org/lapack/
-Libs: -L${libdir} -llapack
+Libs: -L@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@ -llapack
 Requires: blas