--- test/CMakeLists.txt.orig 2022-08-28 12:43:18 UTC +++ test/CMakeLists.txt @@ -23,7 +23,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() target_link_libraries(testrunner ${CMAKE_THREAD_LIBS_INIT})