--- gui/test/benchmark/simple/CMakeLists.txt.orig	2022-03-19 11:35:06 UTC
+++ gui/test/benchmark/simple/CMakeLists.txt
@@ -20,5 +20,5 @@ if (USE_Z3)
     target_link_libraries(benchmark-simple ${Z3_LIBRARIES})
 endif()
 if(tinyxml2_FOUND AND NOT USE_BUNDLED_TINYXML2)
-    target_link_libraries(benchmark-simple ${tinyxml2_LIBRARIES})
-endif()
\ No newline at end of file
+    target_link_libraries(benchmark-simple tinyxml2::tinyxml2)
+endif()
