From: Radoslav Gerganov Date: Fri, 30 May 2025 06:10:09 +0000 (+0300) Subject: ggml : fix pkg-config include path (#1248) X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=9d6ac2b3cefba6a62f3ebfc9a545c63d66616d2d;p=pkg%2Fggml%2Fsources%2Fggml 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' --- 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