mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 05:16:38 +02:00
Link weechat-curses against libutf8 on OpenBSD plateform
This commit is contained in:
@@ -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})
|
||||
|
||||
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user