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.
This commit is contained in:
Pierre Neidhardt 2021-01-07 14:19:44 +01:00
parent b509a07194
commit f2089be3d1
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -334,7 +334,8 @@ (define-public json-modern-cxx
(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