From 2c72da3703da9df43fcdf4979fa5b07d0af46f74 Mon Sep 17 00:00:00 2001 From: Stephen Hurd <deuce@synchro.net> Date: Wed, 9 Feb 2022 17:17:42 -0500 Subject: [PATCH] Link with tinfo as well. This may break FreeBSD though... --- ciolib/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/ciolib/CMakeLists.txt b/ciolib/CMakeLists.txt index 6915387..2b553e3 100644 --- a/ciolib/CMakeLists.txt +++ b/ciolib/CMakeLists.txt @@ -105,6 +105,7 @@ if(USE_CURSES_ANYWAY) set(N_CURSES_LIB TRUE PARENT_SCOPE) endif() target_link_libraries(ciolib ${CURSES_NCURSES_LIBRARY}) + target_link_libraries(ciolib ${CURSES_TINFO_LIBRARY_NAME}) endif() CHECK_FUNCTION_EXISTS(vasprintf HAVE_VASPRINTF) -- GitLab