diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2020-09-14 18:00:31 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2020-09-14 18:00:31 +0200 |
commit | dd3f77a0aaa11fca85e271cc86338c454afcb3c4 (patch) | |
tree | 3e8c6ea417d1dfd2b46f7bfeb5de552459522de6 /CMakeLists.txt | |
parent | 0bfb13655c02c75b0e1cc864a81996e58cd5c7b4 (diff) | |
download | termo-dd3f77a0aaa11fca85e271cc86338c454afcb3c4.tar.gz termo-dd3f77a0aaa11fca85e271cc86338c454afcb3c4.tar.xz termo-dd3f77a0aaa11fca85e271cc86338c454afcb3c4.zip |
Get rid of one CMake dev warning
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
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") |