diff options
author | Józef Kucia <joseph.kucia@gmail.com> | 2018-02-09 12:30:08 +0100 |
---|---|---|
committer | Józef Kucia <joseph.kucia@gmail.com> | 2018-02-09 12:43:03 +0100 |
commit | 4e4a254bc85ea41af93a048f1713ef27e04c01ab (patch) | |
tree | e549f136e0b393db54022872160c9f710ca88df2 /cmake | |
parent | 1a849ffb60b0c87da9a8aac8d4aa02ee8c03df2b (diff) |
Do not hardcode libdir and includedir in pkg config files
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/SPIRV-Tools-shared.pc.in | 4 | ||||
-rw-r--r-- | cmake/SPIRV-Tools.pc.in | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cmake/SPIRV-Tools-shared.pc.in b/cmake/SPIRV-Tools-shared.pc.in index 3c1c8aa7..0dcaa276 100644 --- a/cmake/SPIRV-Tools-shared.pc.in +++ b/cmake/SPIRV-Tools-shared.pc.in @@ -1,7 +1,7 @@ prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} -libdir=${prefix}/lib64 -includedir=${prefix}/include +libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ +includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ Name: SPIRV-Tools Description: Tools for SPIR-V diff --git a/cmake/SPIRV-Tools.pc.in b/cmake/SPIRV-Tools.pc.in index a652d5e4..2984dc57 100644 --- a/cmake/SPIRV-Tools.pc.in +++ b/cmake/SPIRV-Tools.pc.in @@ -1,7 +1,7 @@ prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} -libdir=${prefix}/lib64 -includedir=${prefix}/include +libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ +includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ Name: SPIRV-Tools Description: Tools for SPIR-V |