opnsense-ports/devel/cppcheck/files/patch-test_CMakeLists.txt
Franco Fichtner 05ea8c7749 */*: sync with upstream
Taken from: FreeBSD
2022-11-09 09:51:18 +01:00

11 lines
402 B
Text

--- 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})