aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-07-24 08:07:26 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-07-24 08:07:26 +0200
commit39e2fc51425018bfc333ac95a4d15777d953b7fa (patch)
treefb18792a719133f8541b7583c1a20d3bd2fb7ff5
parentf94bb7709138df14be62198c56071d36aeb685cb (diff)
downloadtdv-39e2fc51425018bfc333ac95a4d15777d953b7fa.tar.gz
tdv-39e2fc51425018bfc333ac95a4d15777d953b7fa.tar.xz
tdv-39e2fc51425018bfc333ac95a4d15777d953b7fa.zip
Find ncursesw on OpenIndiana
-rw-r--r--cmake/FindNcursesw.cmake2
1 files changed, 1 insertions, 1 deletions
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)