summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-11-02 09:43:20 +0100
committerSebastien Helleu <flashcode@flashtux.org>2013-11-02 09:43:20 +0100
commitcf81a6dfcdb386efc0bf2d054f7da6b6565f2734 (patch)
treebf5e29eb36ce0ff577a0dc7c1cb734c9cd454297 /src
parent591b1118913fa6aabb0dfc8e6c6e177d7216a48d (diff)
downloadweechat-cf81a6dfcdb386efc0bf2d054f7da6b6565f2734.zip
core: use ncurses include path when compiling with cmake
Diffstat (limited to 'src')
-rw-r--r--src/gui/curses/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/curses/CMakeLists.txt b/src/gui/curses/CMakeLists.txt
index 2603af90e..78f2c9bb4 100644
--- a/src/gui/curses/CMakeLists.txt
+++ b/src/gui/curses/CMakeLists.txt
@@ -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})