diff options
Diffstat (limited to 'devel/cppcheck/files/patch-test_CMakeLists.txt')
-rw-r--r-- | devel/cppcheck/files/patch-test_CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/cppcheck/files/patch-test_CMakeLists.txt b/devel/cppcheck/files/patch-test_CMakeLists.txt new file mode 100644 index 000000000000..210d2f9f9b5e --- /dev/null +++ b/devel/cppcheck/files/patch-test_CMakeLists.txt @@ -0,0 +1,11 @@ +--- test/CMakeLists.txt.orig 2022-03-19 11:35:06 UTC ++++ test/CMakeLists.txt +@@ -26,7 +26,7 @@ if (BUILD_TESTS) + endif() + endif() + if(tinyxml2_FOUND AND NOT USE_BUNDLED_TINYXML2) +- target_link_libraries(testrunner ${tinyxml2_LIBRARIES}) ++ target_link_libraries(testrunner tinyxml2::tinyxml2) + endif() + + if (NOT CMAKE_DISABLE_PRECOMPILE_HEADERS) |