Sfoglia il codice sorgente

install pkgconfig files in libdir

pkgconfig files are arch dependend files so they needs to be installed
in libdir.

Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
Tomasz Kłoczko 1 anno fa
parent
commit
3c62c83147
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      CMakeLists.txt

+ 2 - 2
CMakeLists.txt

@@ -629,13 +629,13 @@ configure_file(
 install(
   FILES 
     "${PROJECT_BINARY_DIR}/${PROJECT_NAME}.pc"
-    DESTINATION "${CMAKE_INSTALL_DATADIR}/pkgconfig"
+    DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig"
 )
 
 install(
   FILES 
     "${PROJECT_BINARY_DIR}/${PROJECT_NAME}-cpp.pc"
-    DESTINATION "${CMAKE_INSTALL_DATADIR}/pkgconfig"
+    DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig"
 )
 
 write_basic_package_version_file(${PROJECT_NAME}-config-version.cmake