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:
Efraim Flashner 2021-11-03 22:39:47 +02:00
parent d3abd5cd8b
commit b93e06a964
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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"))