summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2025-12-09 18:13:08 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-12-09 19:46:18 +0200
commitc4d76205b63fd74ba1561bc21a7d271b670b22e2 (patch)
tree18f3f065858113c8588c184ec7c52fee0705e6f0 /gnu
parent8d9372a851a49f1cabee1fef32915b259c2adf6f (diff)
gnu: cppcheck: Use system tinyxml2.
* gnu/packages/check.scm (cppcheck)[arguments]: Add configure-flag to not use the bundled tinyxml2. [inputs]: Add tinyxml2. Change-Id: Id312cb2cdb9ffcee5234a045fb8315afae7d918b
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/check.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 735b3fe6da3..d603acc0742 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -832,7 +832,10 @@ format.")
(build-system cmake-build-system)
(arguments
'(#:parallel-tests? #f
- #:configure-flags '("-DBUILD_TESTS=ON")))
+ #:configure-flags '("-DBUILD_TESTS=ON"
+ "-DUSE_BUNDLED_TINYXML2=OFF")))
+ (inputs
+ (list tinyxml2))
(home-page "https://cppcheck.sourceforge.io")
(synopsis "Static C/C++ code analyzer")
(description "Cppcheck is a static code analyzer for C and C++. Unlike