mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 11:55:27 -05:00
gnu: flightgear: Use system cppunit.
* gnu/packages/games.scm (flightgear)[source]: Adjust snippet to remove bundled cppunit. [arguments]: Add configure-flag to use system cppunit.
This commit is contained in:
parent
d3abd5cd8b
commit
b93e06a964
1 changed files with 3 additions and 1 deletions
|
@ -9320,12 +9320,14 @@ (define-public flightgear
|
||||||
'(begin
|
'(begin
|
||||||
;; There are some bundled libraries.
|
;; There are some bundled libraries.
|
||||||
(for-each delete-file-recursively
|
(for-each delete-file-recursively
|
||||||
'("3rdparty/sqlite3/"))
|
'("3rdparty/sqlite3/"
|
||||||
|
"3rdparty/cppunit/"))
|
||||||
#t))))
|
#t))))
|
||||||
(build-system qt-build-system)
|
(build-system qt-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
(list "-DSYSTEM_SQLITE=ON"
|
(list "-DSYSTEM_SQLITE=ON"
|
||||||
|
"-DSYSTEM_CPPUNIT=ON"
|
||||||
(string-append "-DFG_DATA_DIR="
|
(string-append "-DFG_DATA_DIR="
|
||||||
(assoc-ref %outputs "out")
|
(assoc-ref %outputs "out")
|
||||||
"/share/flightgear"))
|
"/share/flightgear"))
|
||||||
|
|
Loading…
Reference in a new issue