guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/08: gnu: flightgear: Use system cppunit.


From: guix-commits
Subject: 07/08: gnu: flightgear: Use system cppunit.
Date: Wed, 3 Nov 2021 18:12:31 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit b93e06a96418b7caba109cae327c3d226a33d782
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Nov 3 22:39:47 2021 +0200

    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 df32a6b..7bab31f 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -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"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]