summary refs log tree commit diff
path: root/gnu/packages/maths.scm
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2021-12-19 21:42:34 +0100
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2021-12-19 21:46:31 +0100
commit78bfbfb5a760719f6a36111bedb6c537661d3da3 (patch)
tree8c60f23b43abadc0ee5217d9e7971f471fc92276 /gnu/packages/maths.scm
parent42b43c59a5424fad13b03b4f0b6a716752ca47c7 (diff)
downloadguix-78bfbfb5a760719f6a36111bedb6c537661d3da3.tar.gz
gnu: cglm: Use meson-build-system.
The CMake-based builds fail to correctly encode the version, leading to build
failures in dependencies.  See <https://bugs.gnu.org/52663>.

* gnu/packages/maths.scm (cglm)[build-system]: Change to meson-build-system.
[arguments]: Adjust #:configure-flags accordingly.
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r--gnu/packages/maths.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 59145c89d4..c35e7cd78c 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -79,6 +79,7 @@
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system meson)
   #:use-module (guix build-system ocaml)
   #:use-module (guix build-system python)
   #:use-module (guix build-system ruby)
@@ -4869,10 +4870,9 @@ Failure to do so will result in a library with poor performance.")
        (file-name (git-file-name name version))
        (sha256
         (base32 "0zgckh56vcdar3a4n51r84wrizyd2ssqal4nsvxd4qdjm0rvb4h0"))))
-    (build-system cmake-build-system)
+    (build-system meson-build-system)
     (arguments
-     `(#:configure-flags
-       (list "-DCGLM_USE_TEST=ON")))
+     `(#:configure-flags '("-Dbuild_tests=true")))
     (home-page "https://github.com/recp/cglm")
     (synopsis "Mathematics C library for graphics programming")
     (description