From 9035ef10afc94ef00a130bb3059815986aa0cda5 Mon Sep 17 00:00:00 2001 From: Micah Snyder Date: Fri, 18 Feb 2022 15:06:57 -0800 Subject: [PATCH] CMake, no pkg-config: Also support finding ncursesw Like the commit to support ncursesW using pkg-config, this commit extends that to the non-pkg-config scenario. --- cmake/FindCURSES.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindCURSES.cmake b/cmake/FindCURSES.cmake index 8d13a0489..8af6dfef0 100644 --- a/cmake/FindCURSES.cmake +++ b/cmake/FindCURSES.cmake @@ -62,7 +62,7 @@ if(NCURSES_NOT_FOUND EQUAL -1) set(CURSES_LIBRARY ${PC_NCurses_LINK_LIBRARIES}) else() find_library(CURSES_LIBRARY - NAMES ncurses + NAMES ncurses ncursesw PATHS ${PC_NCurses_LIBRARY_DIRS} ) endif()