gnu: cgal: Remove duplicate licence directory.

* gnu/packages/graphics.scm (cgal)[arguments]: Set CGAL_INSTALL_DOC_DIR
to match Guix's own default in #:configure-flags.
This commit is contained in:
Tobias Geerinckx-Rice 2021-06-29 05:17:54 +02:00
parent 32037d8f34
commit 13d938bead
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -772,7 +772,12 @@ (define-public cgal
"0yjzq12ivizp23y7zqm30x20psv9gzwbcdrhyd3f7h0ds94m1c40"))))
(build-system cmake-build-system)
(arguments
'(#:tests? #f)) ; no test target
`(#:configure-flags
;; Prevent two mostly-duplicate directories. Use Guix's versioned
;; default for licences instead of CGAL's unversioned one.
(list (string-append "-DCGAL_INSTALL_DOC_DIR=share/doc/"
,name "-" ,version))
#:tests? #f)) ; no test target
(inputs
`(("mpfr" ,mpfr)
("gmp" ,gmp)