aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindNcursesw.cmake
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-07-24 08:09:41 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-07-24 08:09:41 +0200
commitc64457d4cd96c8a89df68655c83b81872963c10a (patch)
treeba3a597c2dd81b7b8c3c45b315e0fbb4de49f983 /cmake/FindNcursesw.cmake
parent97cbd7e80cee6c5a57c1f24b1ff67d65c5c7a53c (diff)
downloadtermo-c64457d4cd96c8a89df68655c83b81872963c10a.tar.gz
termo-c64457d4cd96c8a89df68655c83b81872963c10a.tar.xz
termo-c64457d4cd96c8a89df68655c83b81872963c10a.zip
Find ncursesw on OpenIndiana
Diffstat (limited to 'cmake/FindNcursesw.cmake')
-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)