1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 03:03:12 +02:00

cmake: remove unnecessary add_dependencies()

In a handful of places we explicitly use add_dependencies() where the
exact same libraries are also (implicitly) added as dependencies via
target_link_libraries().

Remove the folder, which helps us remove some duplication with follow-up
patches.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
Emil Velikov
2025-09-14 15:42:16 +01:00
committed by Sébastien Helleu
parent 150e6ecd82
commit 20a7affb70
4 changed files with 0 additions and 23 deletions
-5
View File
@@ -52,11 +52,6 @@ add_executable(${EXECUTABLE}
${WEECHAT_CURSES_MAIN_HEADLESS_SRC}
)
add_dependencies(${EXECUTABLE}
weechat_gui_headless
weechat_ncurses_fake
)
target_link_libraries(${EXECUTABLE}
weechat_core
weechat_plugins
-2
View File
@@ -57,8 +57,6 @@ set(EXECUTABLE weechat)
add_executable(${EXECUTABLE} ${WEECHAT_CURSES_MAIN_SRC})
add_dependencies(${EXECUTABLE} weechat_gui_curses_normal)
list(APPEND EXTRA_LIBS ${NCURSES_LIBRARY})
target_link_libraries(${EXECUTABLE}