diff --git a/CMakeLists.txt b/CMakeLists.txt index 247686c..9561e50 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,7 @@ set(CMAKE_EXE_LINKER_FLAGS "-pthread") # Add the required ncurses library. set(CURSES_NEED_NCURSES TRUE) +set(CURSES_MINIMUM_VERSION 6) find_package(Curses REQUIRED) link_libraries(${CURSES_LIBRARIES}) diff --git a/README.md b/README.md index bcc3784..8044f7c 100644 --- a/README.md +++ b/README.md @@ -43,10 +43,10 @@ zypper install TMatrix ``` ### Download and install on other GNU/Linux distributions -The prebuilt TMatrix uses **version 5** of the ncurses library. +The prebuilt TMatrix uses **version 6** of the ncurses library. To install the library on Ubuntu or Debian run: ```shell -sudo apt-get install libncurses5 +sudo apt-get install libncurses-dev ``` Now that you have the required library you can install and run tmatrix: ```shell