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
This commit is contained in:
Efraim Flashner 2025-12-09 18:13:08 +02:00
parent 8d9372a851
commit c4d76205b6
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

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