From b93e06a96418b7caba109cae327c3d226a33d782 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 3 Nov 2021 22:39:47 +0200 Subject: [PATCH] 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. --- gnu/packages/games.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index df32a6b27d..7bab31f9be 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -9320,12 +9320,14 @@ (define-public flightgear '(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"))