mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: openmw-openscenegraph: Fix builder.
This broke with the changes to openscenegraph in
629a5936a6
.
* gnu/packages/graphics.scm (openmw-openscenegraph)[arguments]: Handle
#:configure-flags from openscenegraph as a gexp.
This commit is contained in:
parent
b4d2670771
commit
12127395dc
1 changed files with 12 additions and 12 deletions
|
@ -1492,18 +1492,18 @@ (define-public openmw-openscenegraph
|
|||
(substitute-keyword-arguments (package-arguments openscenegraph)
|
||||
((#:configure-flags flags)
|
||||
;; As per the above wiki link, the following plugins are enough:
|
||||
`(append
|
||||
'("-DBUILD_OSG_PLUGINS_BY_DEFAULT=0"
|
||||
"-DBUILD_OSG_PLUGIN_OSG=1"
|
||||
"-DBUILD_OSG_PLUGIN_DDS=1"
|
||||
"-DBUILD_OSG_PLUGIN_TGA=1"
|
||||
"-DBUILD_OSG_PLUGIN_BMP=1"
|
||||
"-DBUILD_OSG_PLUGIN_JPEG=1"
|
||||
"-DBUILD_OSG_PLUGIN_PNG=1"
|
||||
"-DBUILD_OSG_DEPRECATED_SERIALIZERS=0"
|
||||
;; The jpeg plugin requires conversion between integers and booleans
|
||||
"-DCMAKE_CXX_FLAGS=-fpermissive")
|
||||
,flags))))))))
|
||||
#~(append
|
||||
'("-DBUILD_OSG_PLUGINS_BY_DEFAULT=0"
|
||||
"-DBUILD_OSG_PLUGIN_OSG=1"
|
||||
"-DBUILD_OSG_PLUGIN_DDS=1"
|
||||
"-DBUILD_OSG_PLUGIN_TGA=1"
|
||||
"-DBUILD_OSG_PLUGIN_BMP=1"
|
||||
"-DBUILD_OSG_PLUGIN_JPEG=1"
|
||||
"-DBUILD_OSG_PLUGIN_PNG=1"
|
||||
"-DBUILD_OSG_DEPRECATED_SERIALIZERS=0"
|
||||
;; The jpeg plugin requires conversion between integers and booleans
|
||||
"-DCMAKE_CXX_FLAGS=-fpermissive")
|
||||
#$flags))))))))
|
||||
|
||||
(define-public povray
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue