guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: gnu: json-modern-cxx: Install json_fwd.hpp header.


From: guix-commits
Subject: 02/04: gnu: json-modern-cxx: Install json_fwd.hpp header.
Date: Thu, 7 Jan 2021 08:24:24 -0500 (EST)

ambrevar pushed a commit to branch master
in repository guix.

commit f2089be3d179afc9b33ca62085c7a0566af7715e
Author: Pierre Neidhardt <mail@ambrevar.xyz>
AuthorDate: Thu Jan 7 14:19:44 2021 +0100

    gnu: json-modern-cxx: Install json_fwd.hpp header.
    
    * gnu/packages/cpp.scm (json-modern-cxx)[arguments]: Set
    JSON_MultipleHeaders=ON to install optional header.
---
 gnu/packages/cpp.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 00e0069..45d3fae 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -334,7 +334,8 @@ as ordering relation.")
     (build-system cmake-build-system)
     (arguments
      '(#:configure-flags
-       (list (string-append "-DJSON_TestDataDirectory="
+       (list "-DJSON_MultipleHeaders=ON" ; For json_fwd.hpp.
+             (string-append "-DJSON_TestDataDirectory="
                             (assoc-ref %build-inputs "json_test_data")))
        #:phases (modify-phases %standard-phases
                   ;; XXX: When tests are enabled, the install phase will cause



reply via email to

[Prev in Thread] Current Thread [Next in Thread]