]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
ggml : fix pkg-config include path (#1248)
authorRadoslav Gerganov <redacted>
Fri, 30 May 2025 06:10:09 +0000 (09:10 +0300)
committerGitHub <redacted>
Fri, 30 May 2025 06:10:09 +0000 (09:10 +0300)
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

index 58129f073477e48f0d06c3a562a622b531acb1f7..9be62dc33e2fc1719114abf265bd8273cfe7de7c 100644 (file)
@@ -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