gnu: openscenegraph: Add 'Release' configure flag.

* gnu/packages/graphics.scm (openscenegraph)[arguments]: Add "-DCMAKE_BUILD_TYPE=Release".
master
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
1 changed files with 5 additions and 1 deletions

View File

@ -339,7 +339,11 @@ visual effects work for film.")
#: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