Skip to content

Commit f4d15c9

Browse files
authored
added copy_cfg, copy_addons, copy_platforms and run-dmake as cppcheck-gui dependencies (#6882)
1 parent 5da14ca commit f4d15c9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

gui/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,13 @@ CheckOptions:
8686
install(FILES cppcheck-gui.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps)
8787
install(FILES cppcheck-gui.png DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/64x64/apps)
8888

89+
add_dependencies(cppcheck-gui copy_cfg)
90+
add_dependencies(cppcheck-gui copy_addons)
91+
add_dependencies(cppcheck-gui copy_platforms)
92+
if (NOT DISABLE_DMAKE)
93+
add_dependencies(cppcheck-gui run-dmake)
94+
endif()
95+
8996
if (BUILD_TESTS)
9097
add_subdirectory(test)
9198
endif()

0 commit comments

Comments
 (0)