From: Steve Lhomme Date: Sun, 10 May 2026 14:35:38 +0000 (+0200) Subject: ggml: install ggml.pc in /pkgconfig (ggml/1480) X-Git-Tag: upstream/0.0.10438~1255 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=2eb3e6b2428c035dd24f996c7dfc48654dc19a6b;p=pkg%2Fggml%2Fsources%2Fllama.cpp ggml: install ggml.pc in /pkgconfig (ggml/1480) That's always how it's done: https://github.com/search?q=path%3ACMakeLists.txt%20%22%24%7BCMAKE_INSTALL_LIBDIR%7D%2Fpkgconfig%22&type=code --- diff --git a/ggml/CMakeLists.txt b/ggml/CMakeLists.txt index de765ef3e..bdeca34bf 100644 --- a/ggml/CMakeLists.txt +++ b/ggml/CMakeLists.txt @@ -353,7 +353,7 @@ if (GGML_STANDALONE) @ONLY) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ggml.pc - DESTINATION share/pkgconfig) + DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) endif() #