From 46b69e6db162249961e8371b483289da706f22b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Arg=C3=BCelles?= Date: Wed, 21 Aug 2013 13:56:07 -0500 Subject: [PATCH] Add cmake module for ncursesw Default Curses module fails to detect the wide char version of curses when both are installed. Current module should do better. --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ee7020..53316af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,9 @@ add_executable(${exe_name} chat.c configdir.c) +include_directories(${CURSES_INCLUDE_DIR}) + target_link_libraries(${exe_name} - curses) + ${CURSES_LIBRARIES}) linkCoreLibraries(${exe_name})