From ffacc9555df8560b733a04fb4bf2a443045d8f59 Mon Sep 17 00:00:00 2001 From: "Aniket Ubuntu 24.04" Date: Fri, 2 May 2025 08:58:15 +0200 Subject: [PATCH] updated ncurses version for newer debian based systems. --- CMakeLists.txt | 1 + README.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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