From ce98ded306505abab5c0e978b3246f31cb452bda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 20 Jul 2014 16:16:08 +0200 Subject: core: fix link errors with ncurses library --- src/gui/curses/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/curses') diff --git a/src/gui/curses/CMakeLists.txt b/src/gui/curses/CMakeLists.txt index 1466b2b60..57148d31b 100644 --- a/src/gui/curses/CMakeLists.txt +++ b/src/gui/curses/CMakeLists.txt @@ -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) -- cgit v1.2.3