summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-10-12 12:46:18 +0200
committerLenny Komow <lenny@lunarg.com>2020-10-20 13:28:54 -0600
commit5d51a8a45074c2359a489bf77b01fda59f01cf2e (patch)
tree8e92c8c128af9da080d321010824a6cf2e8ebd7c
parentf8a876245925cdc19068ac82437a785dc7094816 (diff)
downloadVulkan-Loader-5d51a8a45074c2359a489bf77b01fda59f01cf2e.tar.gz
Vulkan-Loader-5d51a8a45074c2359a489bf77b01fda59f01cf2e.tar.bz2
Vulkan-Loader-5d51a8a45074c2359a489bf77b01fda59f01cf2e.zip
CMake: Fix libdir in pkg-config file, dehardcode includedir
Fixes #489. Supersedes #214.
-rw-r--r--loader/vulkan.pc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/vulkan.pc.in b/loader/vulkan.pc.in
index 2ce5aea4..f1588c41 100644
--- a/loader/vulkan.pc.in
+++ b/loader/vulkan.pc.in
@@ -1,7 +1,7 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=@CMAKE_INSTALL_PREFIX@
-libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
-includedir=${prefix}/include
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
Name: @CMAKE_PROJECT_NAME@
Description: Vulkan Loader