]> git.feebdaed.xyz Git - 0xmirror/civetweb.git/commitdiff
install pkgconfig files in libdir
authorTomasz Kłoczko <kloczek@github.com>
Sat, 9 Sep 2023 11:27:58 +0000 (11:27 +0000)
committerTomasz Kłoczko <kloczek@github.com>
Sat, 9 Sep 2023 11:27:58 +0000 (11:27 +0000)
pkgconfig files are arch dependend files so they needs to be installed
in libdir.

Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
CMakeLists.txt

index 7a48123e06e5e96d5f01fcddc774656c78f58704..ae00462a54fa3ea7e84ffd2575283d0020350b65 100644 (file)
@@ -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