From: Christoph Reiter Date: Thu, 25 Sep 2025 16:59:38 +0000 (+0200) Subject: pkg-config: include the new GGML_VERSION as a version (#1348) X-Git-Tag: v0.9.4~37 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=5ef9c2a50307011f4f6183e05dcc9f9329851349;p=pkg%2Fggml%2Fsources%2Fggml pkg-config: include the new GGML_VERSION as a version (#1348) Instead of hardcoding 0.0.0 If the 0.9.2-dev version is supposed to mean "less than" 0.9.2 instead of equal, then the .pc version format would need to be changed to 0.9.2dev, since pkgconf uses RPM version comparison. But let's keep it simple for now. The version in CMake was added in #1336 --- diff --git a/ggml.pc.in b/ggml.pc.in index 9be62dc3..3e0291e0 100644 --- a/ggml.pc.in +++ b/ggml.pc.in @@ -5,6 +5,6 @@ libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ Name: ggml Description: The GGML Tensor Library for Machine Learning -Version: 0.0.0 +Version: @GGML_VERSION@ Cflags: -I${includedir} Libs: -L${libdir} -lggml