aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMarcel Metz <[email protected]>2016-09-06 21:35:34 +0200
committerMarcel Metz <[email protected]>2016-09-06 21:52:05 +0200
commit3481cf6fbae3f49e9f6e60d7610459dad319e5d1 (patch)
tree19910c33c15a454ef68f1d04c7e64085a05e37cf /CMakeLists.txt
parent6387933f8b7511b7b8078245511fc99525d8d0fd (diff)
Use GNUInstallDirs for generated pkg-config file
Continuation of 6387933
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5a75db44..f85fb14f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1118,9 +1118,9 @@ ENDIF()
# Needed for openal.pc.in
SET(prefix ${CMAKE_INSTALL_PREFIX})
SET(exec_prefix "\${prefix}")
-SET(libdir "\${exec_prefix}/lib${LIB_SUFFIX}")
-SET(bindir "\${exec_prefix}/bin")
-SET(includedir "\${prefix}/include")
+SET(libdir "\${exec_prefix}/${CMAKE_INSTALL_LIBDIR}")
+SET(bindir "\${exec_prefix}/${CMAKE_INSTALL_BINDIR}")
+SET(includedir "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}")
SET(PACKAGE_VERSION "${LIB_VERSION}")
# End configuration