gnu: openscenegraph: Add 'Release' configure flag.

* gnu/packages/graphics.scm (openscenegraph)[arguments]: Add "-DCMAKE_BUILD_TYPE=Release".
This commit is contained in:
Manolis Ragkousis 2017-08-02 20:32:22 +03:00
parent 68a29ab8d0
commit 5638d71502
No known key found for this signature in database
GPG key ID: 327C1EF38DF54C32

View file

@ -339,7 +339,11 @@ (define-public openscenegraph
#:configure-flags
(list (string-append "-DCMAKE_INSTALL_RPATH="
(assoc-ref %outputs "out") "/lib:"
(assoc-ref %outputs "out") "/lib64"))))
(assoc-ref %outputs "out") "/lib64")
;; We need to set this flag or otherwise 'rd' will be added
;; to the name of the library binaries and break linking
;; with other programs.
"-DCMAKE_BUILD_TYPE=Release")))
(native-inputs
`(("unzip" ,unzip)))
(inputs