We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a27cca commit a4b579dCopy full SHA for a4b579d
1 file changed
lib/CMakeLists.txt
@@ -50,9 +50,7 @@ endif()
50
target_dll_compile_definitions(cppcheck-core EXPORT CPPCHECKLIB_EXPORT IMPORT CPPCHECKLIB_IMPORT)
51
52
target_include_directories(cppcheck-core PUBLIC .)
53
-foreach(lib tinyxml2 simplecpp picojson ${PCRE_LIBRARY})
54
- target_link_libraries(cppcheck-core PRIVATE ${lib})
55
-endforeach()
+target_link_libraries(cppcheck-core PRIVATE tinyxml2 simplecpp picojson ${PCRE_LIBRARY})
56
57
if (HAVE_RULES)
58
target_include_directories(cppcheck-core SYSTEM PRIVATE ${PCRE_INCLUDE})
0 commit comments