summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-06-27 21:19:22 +0200
committerMarius Bakke <marius@gnu.org>2022-06-27 23:48:00 +0200
commit2ada32cc3963afd7f195cb82eade3baf0df2cf1f (patch)
treef28cc8f45d7d727bd9ef7c1c110e009346b304e6 /gnu
parent80193fff5993a1d9e0edce7229a0d6c6e2437df5 (diff)
downloadguix-2ada32cc3963afd7f195cb82eade3baf0df2cf1f.tar.gz
gnu: jsoncpp: Build with Meson.
* gnu/packages/serialization.scm (jsoncpp)[build-system]: Change to
MESON-BUILD-SYSTEM.
[arguments]: Remove.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/serialization.scm11
1 files changed, 2 insertions, 9 deletions
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 960c339ef9..d0e5425f8a 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -38,6 +38,7 @@
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system copy)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
@@ -423,15 +424,7 @@ in which the loaded data is arranged in memory.")
               (sha256
                (base32
                 "06zss7z56ykzwcsfdxarmini63hkf8i8gx70q3yw9wb0bw7wj9rv"))))
-    (build-system cmake-build-system)
-    (arguments
-     `(#:configure-flags '("-DBUILD_SHARED_LIBS:BOOL=YES"
-                           ,@(if (%current-target-system)
-                                 `("-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF")
-                                 '()))
-       ,@(if (%current-target-system)
-             '()
-             `(#:cmake ,cmake-bootstrap))))
+    (build-system meson-build-system)
     (synopsis "C++ library for interacting with JSON")
     (description "JsonCpp is a C++ library that allows manipulating JSON values,
 including serialization and deserialization to and from strings.  It can also