From 246c140b7fdf641fd08a9f20c03ecb97a6f8a3a2 Mon Sep 17 00:00:00 2001 From: firewave Date: Wed, 18 May 2022 09:29:32 +0200 Subject: [PATCH] added `copy_cfg`, `copy_addons`, `copy_platforms` and `run-dmake` as `cppcheck-gui` dependencies --- gui/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index 2f86d568331..88bf225c58b 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -86,6 +86,13 @@ CheckOptions: install(FILES cppcheck-gui.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps) install(FILES cppcheck-gui.png DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/64x64/apps) + add_dependencies(cppcheck-gui copy_cfg) + add_dependencies(cppcheck-gui copy_addons) + add_dependencies(cppcheck-gui copy_platforms) + if (NOT DISABLE_DMAKE) + add_dependencies(cppcheck-gui run-dmake) + endif() + if (BUILD_TESTS) add_subdirectory(test) endif()