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'
This commit is contained in:
Radoslav Gerganov 2025-05-30 09:10:09 +03:00 committed by GitHub
parent 5592ffda9c
commit 9d6ac2b3ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View 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