mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 22:36:38 +02:00
core: use ncurses include path when compiling with cmake
This commit is contained in:
@@ -71,7 +71,7 @@ LIST(APPEND EXTRA_LIBS ${CURL_LIBRARIES})
|
||||
|
||||
ADD_EXECUTABLE(${EXECUTABLE} ${WEECHAT_CURSES_SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(.. ../../core ../../plugins)
|
||||
INCLUDE_DIRECTORIES(.. ../../core ../../plugins ${NCURSES_INCLUDE_PATH})
|
||||
|
||||
# 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})
|
||||
|
||||
Reference in New Issue
Block a user