From 9d6ac2b3cefba6a62f3ebfc9a545c63d66616d2d Mon Sep 17 00:00:00 2001 From: Radoslav Gerganov Date: Fri, 30 May 2025 09:10:09 +0300 Subject: [PATCH] ggml : fix pkg-config include path (#1248) CMake is installing public headers in CMAKE_INSTALL_INCLUDEDIR, not CMAKE_INSTALL_INCLUDEDIR/ggml. This patch fixes building external programs which use 'pkg-config --cflags ggml' --- ggml.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml.pc.in b/ggml.pc.in index 58129f07..9be62dc3 100644 --- a/ggml.pc.in +++ b/ggml.pc.in @@ -6,5 +6,5 @@ libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ Name: ggml Description: The GGML Tensor Library for Machine Learning Version: 0.0.0 -Cflags: -I${includedir}/ggml +Cflags: -I${includedir} Libs: -L${libdir} -lggml