Date: Tuesday, March 22, 2022 @ 00:42:33 Author: grawlinson Revision: 1169544
upgpkg: cppcheck Forgot to commit the tinyxml2 fix. Whoops! Added: cppcheck/trunk/find-tinyxml2.patch ---------------------+ find-tinyxml2.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) Added: find-tinyxml2.patch =================================================================== --- find-tinyxml2.patch (rev 0) +++ find-tinyxml2.patch 2022-03-22 00:42:33 UTC (rev 1169544) @@ -0,0 +1,13 @@ +--- a/cmake/findDependencies.cmake ++++ b/cmake/findDependencies.cmake +@@ -48,7 +48,9 @@ endif() + + if (NOT USE_BUNDLED_TINYXML2) + find_package(tinyxml2 QUIET) +- if (NOT tinyxml2_FOUND) ++ if (tinyxml2_FOUND) ++ set(tinyxml2_LIBRARIES "tinyxml2") ++ else() + find_library(tinyxml2_LIBRARIES tinyxml2) + if (NOT tinyxml2_LIBRARIES) + message(FATAL_ERROR "tinyxml2 has not been found")
