opnsense-ports/devel/cppcheck/files/patch-cli_CMakeLists.txt
Franco Fichtner 77cdc697ff */*: sync with upstream
Taken from: FreeBSD
2022-03-23 19:52:59 +01:00

11 lines
354 B
Text

--- cli/CMakeLists.txt.orig 2022-03-19 11:35:06 UTC
+++ cli/CMakeLists.txt
@@ -35,7 +35,7 @@ if (WIN32 AND NOT BORLAND)
endif()
endif()
if(tinyxml2_FOUND AND NOT USE_BUNDLED_TINYXML2)
- target_link_libraries(cppcheck ${tinyxml2_LIBRARIES})
+ target_link_libraries(cppcheck tinyxml2::tinyxml2)
endif()
add_dependencies(cppcheck copy_cfg)