aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Farina (Zero_Chaos) <zerochaos@gentoo.org>2022-02-15 21:27:51 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2022-02-24 13:33:39 -0600
commitb170ec5d755b955196902d687e1614cb2ea46803 (patch)
tree24d65cb99c6a3120853199000d8dcc5d53b934f5
parent0db4d4124f9eb6f14c89dc31104f273ae259c39c (diff)
downloaduhd-b170ec5d755b955196902d687e1614cb2ea46803.tar.gz
uhd-b170ec5d755b955196902d687e1614cb2ea46803.tar.bz2
uhd-b170ec5d755b955196902d687e1614cb2ea46803.zip
cmake: ncurses: fix building with split tinfo
This fixes an issue where tinfo and ncurses are split into separate libraries.
-rw-r--r--host/examples/CMakeLists.txt1
-rw-r--r--host/utils/latency/CMakeLists.txt1
2 files changed, 2 insertions, 0 deletions
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)
diff --git a/host/utils/latency/CMakeLists.txt b/host/utils/latency/CMakeLists.txt
index 48a3635a7..e4cd4d171 100644
--- a/host/utils/latency/CMakeLists.txt
+++ b/host/utils/latency/CMakeLists.txt
@@ -5,6 +5,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
#
+set(CURSES_NEED_NCURSES 1)
find_package(Curses)
if(CURSES_FOUND)