From b6c54073cdeb25e8f505477d838d6894b062322c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Mon, 24 Jul 2023 08:09:08 +0200 Subject: Find ncursesw on OpenIndiana --- cmake/FindNcursesw.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') diff --git a/cmake/FindNcursesw.cmake b/cmake/FindNcursesw.cmake index 0536674..3b3a675 100644 --- a/cmake/FindNcursesw.cmake +++ b/cmake/FindNcursesw.cmake @@ -7,7 +7,7 @@ pkg_check_modules (Ncursesw QUIET ncursesw) set (required_vars Ncursesw_LIBRARIES) if (NOT Ncursesw_FOUND) find_library (Ncursesw_LIBRARIES NAMES ncursesw) - find_path (Ncursesw_INCLUDE_DIRS ncurses.h) + find_path (Ncursesw_INCLUDE_DIRS ncurses.h PATH_SUFFIXES ncurses) list (APPEND required_vars Ncursesw_INCLUDE_DIRS) endif (NOT Ncursesw_FOUND) -- cgit v1.2.3