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
@ -9320,12 +9320,14 @@ and also provides the base for the FlightGear Flight Simulator.")
|
||||
'(begin
|
||||
;; There are some bundled libraries.
|
||||
(for-each delete-file-recursively
|
||||
'("3rdparty/sqlite3/"))
|
||||
'("3rdparty/sqlite3/"
|
||||
"3rdparty/cppunit/"))
|
||||
#t))))
|
||||
(build-system qt-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
(list "-DSYSTEM_SQLITE=ON"
|
||||
"-DSYSTEM_CPPUNIT=ON"
|
||||
(string-append "-DFG_DATA_DIR="
|
||||
(assoc-ref %outputs "out")
|
||||
"/share/flightgear"))
|
||||
|
Loading…
Reference in New Issue
Block a user