From b170ec5d755b955196902d687e1614cb2ea46803 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Tue, 15 Feb 2022 21:27:51 -0500 Subject: cmake: ncurses: fix building with split tinfo This fixes an issue where tinfo and ncurses are split into separate libraries. --- host/examples/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'host/examples') diff --git a/host/examples/CMakeLists.txt b/host/examples/CMakeLists.txt index 856b867e5..69e84f95d 100644 --- a/host/examples/CMakeLists.txt +++ b/host/examples/CMakeLists.txt @@ -51,6 +51,7 @@ endforeach(example_source) ######################################################################## # ASCII Art DFT - requires curses, so this part is optional ######################################################################## +set(CURSES_NEED_NCURSES 1) find_package(Curses) if(CURSES_FOUND) -- cgit v1.2.3