mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 06:16:40 +02:00
core: fix link errors with ncurses library
This commit is contained in:
@@ -82,7 +82,7 @@ add_executable(${EXECUTABLE} ${WEECHAT_CURSES_MAIN_SRC})
|
||||
add_dependencies(${EXECUTABLE} weechat_gui_curses)
|
||||
|
||||
# Because of a linker bug, we have to link 2 times with libweechat_core.a
|
||||
target_link_libraries(${EXECUTABLE} ${STATIC_LIBS} ${EXTRA_LIBS} ${STATIC_LIBS} weechat_gui_curses)
|
||||
target_link_libraries(${EXECUTABLE} ${STATIC_LIBS} weechat_gui_curses ${EXTRA_LIBS} ${STATIC_LIBS})
|
||||
|
||||
install(TARGETS ${EXECUTABLE} RUNTIME DESTINATION bin)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user