CMake: Honor LIB_SUFFIX for pkgconfig install path
authorRémi Verschelde <rverschelde@gmail.com>
Wed, 27 Sep 2017 21:04:15 +0200
changeset 1611 c31e8b2119eb
parent 1610 d4eea8657f2a
child 1612 18eb3cb25ed7
CMake: Honor LIB_SUFFIX for pkgconfig install path
CMakeLists.txt
--- a/CMakeLists.txt	Wed Sep 27 12:33:36 2017 -0400
+++ b/CMakeLists.txt	Wed Sep 27 21:04:15 2017 +0200
@@ -266,7 +266,7 @@
     )
     install(
         FILES "${CMAKE_CURRENT_BINARY_DIR}/extras/physfs.pc"
-        DESTINATION "lib/pkgconfig"
+        DESTINATION "lib${LIB_SUFFIX}/pkgconfig"
     )
 endif()