diff options
author | Julien Louis <ptitlouis@sysif.net> | 2007-06-11 17:47:57 +0000 |
---|---|---|
committer | Julien Louis <ptitlouis@sysif.net> | 2007-06-11 17:47:57 +0000 |
commit | c9625e1f589d011e8cd89e4e470026f5879db5a2 (patch) | |
tree | a9ffdaab70bfa44d83aad6ad81921b0d0e3f43c2 | |
parent | d604e222ea8317113db013340db9950aeb79d9d9 (diff) | |
download | weechat-c9625e1f589d011e8cd89e4e470026f5879db5a2.zip |
Link weechat-curses against libutf8 on OpenBSD plateform
-rw-r--r-- | src/gui/curses/CMakeLists.txt | 4 | ||||
-rw-r--r-- | weechat/src/gui/curses/CMakeLists.txt | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/curses/CMakeLists.txt b/src/gui/curses/CMakeLists.txt index 90ac69f46..749f0ef55 100644 --- a/src/gui/curses/CMakeLists.txt +++ b/src/gui/curses/CMakeLists.txt @@ -36,6 +36,10 @@ IF(NCURSES_FOUND) LIST(APPEND EXTRA_LIBS ${NCURSES_LIBRARY}) ENDIF(NCURSES_FOUND) +IF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD") + LIST(APPEND EXTRA_LIBS "utf8") +ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD") + ADD_EXECUTABLE(${EXECUTABLE} ${WEECHAT_CURSES_SRC}) INCLUDE_DIRECTORIES(.. ../../common ../../irc ../../plugins) TARGET_LINK_LIBRARIES(${EXECUTABLE} ${STATIC_LIBS} ${EXTRA_LIBS}) diff --git a/weechat/src/gui/curses/CMakeLists.txt b/weechat/src/gui/curses/CMakeLists.txt index 90ac69f46..749f0ef55 100644 --- a/weechat/src/gui/curses/CMakeLists.txt +++ b/weechat/src/gui/curses/CMakeLists.txt @@ -36,6 +36,10 @@ IF(NCURSES_FOUND) LIST(APPEND EXTRA_LIBS ${NCURSES_LIBRARY}) ENDIF(NCURSES_FOUND) +IF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD") + LIST(APPEND EXTRA_LIBS "utf8") +ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD") + ADD_EXECUTABLE(${EXECUTABLE} ${WEECHAT_CURSES_SRC}) INCLUDE_DIRECTORIES(.. ../../common ../../irc ../../plugins) TARGET_LINK_LIBRARIES(${EXECUTABLE} ${STATIC_LIBS} ${EXTRA_LIBS}) |