summaryrefslogtreecommitdiff
path: root/clblast.pc.in
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-10-23 15:54:55 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-10-23 15:54:55 +0200
commit34e537a5c10fff6bc6350312f66d7c74faf813c0 (patch)
tree7a32d7fb6a60b5acb15308a4f3d7f248dab7a039 /clblast.pc.in
parent5fd1f2fc609a771d852cad1bd4ad4f02489016a5 (diff)
Use GNUInstallDirs to determine install paths
The GNUInstallDirs module* provides variables that match the install directories for GNU Software and allows users to override them. Without hardcoding paths packagers can choose library paths according to distribution policies (i.e. lib, lib64, lib<arch>, ...). * https://cmake.org/cmake/help/v3.0/module/GNUInstallDirs.html
Diffstat (limited to 'clblast.pc.in')
-rw-r--r--clblast.pc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/clblast.pc.in b/clblast.pc.in
index 2538add8..c66210f1 100644
--- a/clblast.pc.in
+++ b/clblast.pc.in
@@ -1,7 +1,7 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
-includedir=${prefix}/include
-libdir=${exec_prefix}/lib
+includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
+libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
Name: CLBlast
Description: CLBlast is a modern, lightweight, performant and tunable OpenCL BLAS library written in C++11