aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindNcursesw.cmake
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-07-24 08:09:08 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-07-24 08:09:08 +0200
commitb6c54073cdeb25e8f505477d838d6894b062322c (patch)
treeb604d86410c49937c319aed61116bef236dfdb0f /cmake/FindNcursesw.cmake
parent62166f9679f583f1ea6028bfe54a4487ccc57df0 (diff)
downloadliberty-b6c54073cdeb25e8f505477d838d6894b062322c.tar.gz
liberty-b6c54073cdeb25e8f505477d838d6894b062322c.tar.xz
liberty-b6c54073cdeb25e8f505477d838d6894b062322c.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)