diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-03-07 17:22:32 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-03-07 17:22:32 +0100 |
commit | 468422e130aadd7c77d06c11d01ecee657593f8a (patch) | |
tree | b6af7b2b3d961eeb60cc3d772e6156e50f9a57b9 /src/gui/gtk/CMakeLists.txt | |
parent | 519f62c11d4c22f4544588a7f8f1ee7acc6a4a7c (diff) | |
download | weechat-468422e130aadd7c77d06c11d01ecee657593f8a.zip |
Fix of link with cmake for Curses and Gtk executables
Diffstat (limited to 'src/gui/gtk/CMakeLists.txt')
-rw-r--r-- | src/gui/gtk/CMakeLists.txt | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/src/gui/gtk/CMakeLists.txt b/src/gui/gtk/CMakeLists.txt index ab2358573..ca7ae90bb 100644 --- a/src/gui/gtk/CMakeLists.txt +++ b/src/gui/gtk/CMakeLists.txt @@ -31,22 +31,9 @@ IF(PKG_CONFIG_FOUND) ENDIF(GTK2_FOUND) ENDIF(PKG_CONFIG_FOUND) -ADD_EXECUTABLE(${EXECUTABLE} ${WEECHAT_GTK_SRC} -../../core/weechat.o -../../core/wee-backtrace.o -../../core/wee-command.o -../../core/wee-config.o -../../core/wee-config-file.o -../../core/wee-debug.o -../../core/wee-hook.o -../../core/wee-input.o -../../core/wee-list.o -../../core/wee-log.o -../../core/wee-upgrade.o -../../core/wee-string.o -../../core/wee-utf8.o -../../core/wee-util.o) +ADD_EXECUTABLE(${EXECUTABLE} ${WEECHAT_GTK_SRC}) + INCLUDE_DIRECTORIES(.. ../../core ../../plugins) -TARGET_LINK_LIBRARIES(${EXECUTABLE} ${STATIC_LIBS} ${EXTRA_LIBS}) +TARGET_LINK_LIBRARIES(${EXECUTABLE} -lweechat_core ${STATIC_LIBS} ${EXTRA_LIBS}) INSTALL(TARGETS ${EXECUTABLE} RUNTIME DESTINATION bin) |