aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d13c860..4da6692 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -49,20 +49,20 @@ set (lib_headers
# Project libraries
# We need ncurses for one of the demos, so we're always looking
-if (NCURSESW_FOUND)
- include_directories (${NCURSESW_INCLUDE_DIRS})
- set (curses_libraries ${NCURSESW_LIBRARIES})
+if (Ncursesw_FOUND)
+ include_directories (${Ncursesw_INCLUDE_DIRS})
+ set (curses_libraries ${Ncursesw_LIBRARIES})
elseif (CURSES_FOUND)
include_directories (${CURSES_INCLUDE_DIR})
set (curses_libraries ${CURSES_LIBRARY})
-endif (NCURSESW_FOUND)
+endif (Ncursesw_FOUND)
if (unibilium_FOUND)
include_directories (${unibilium_INCLUDE_DIRS})
set (lib_libraries ${unibilium_LIBRARIES})
add_definitions (-DHAVE_UNIBILIUM)
elseif (curses_libraries)
- include_directories (${NCURSESW_INCLUDE_DIRS})
+ include_directories (${Ncursesw_INCLUDE_DIRS})
set (lib_libraries ${curses_libraries})
else (CURSES_FOUND)
message (SEND_ERROR "Unibilium not found, Curses not found")