]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ggml: install ggml.pc in <libdir>/pkgconfig (ggml/1480)
authorSteve Lhomme <redacted>
Sun, 10 May 2026 14:35:38 +0000 (16:35 +0200)
committerGeorgi Gerganov <redacted>
Sat, 16 May 2026 13:11:29 +0000 (16:11 +0300)
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

ggml/CMakeLists.txt

index de765ef3e24a4f23e12a146c8cb2c54c75bc68fe..bdeca34bf9fb328d191dd478da5e093221d014ef 100644 (file)
@@ -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()
 
 #