aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt10
m---------liberty0
2 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 900655e..dd9f71e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,10 +13,10 @@ set (CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/liberty/cmake)
include (AddThreads)
find_package (Curses)
+find_package (Ncursesw)
find_package (PkgConfig REQUIRED)
pkg_check_modules (jansson REQUIRED jansson)
pkg_check_modules (libssl REQUIRED libssl libcrypto)
-pkg_check_modules (ncursesw ncursesw)
if ("${CMAKE_SYSTEM_NAME}" MATCHES "BSD")
# Need this in FreeBSD and OpenBSD respectively;
@@ -24,10 +24,10 @@ if ("${CMAKE_SYSTEM_NAME}" MATCHES "BSD")
add_definitions (-D__BSD_VISIBLE=1 -D_BSD_SOURCE=1)
endif ()
-if (ncursesw_FOUND)
- set (project_libraries ${ncursesw_LIBRARIES})
- include_directories (${ncursesw_INCLUDE_DIRS})
- link_directories (${ncursesw_LIBRARY_DIRS})
+if (Ncursesw_FOUND)
+ set (project_libraries ${Ncursesw_LIBRARIES})
+ include_directories (${Ncursesw_INCLUDE_DIRS})
+ link_directories (${Ncursesw_LIBRARY_DIRS})
elseif (CURSES_FOUND)
set (project_libraries ${CURSES_LIBRARY})
include_directories (${CURSES_INCLUDE_DIR})
diff --git a/liberty b/liberty
-Subproject d71c47f8ce7aecdc4856630e9d73a48912be68c
+Subproject 7a0cb13a1a653f61b0e715f79156046898d0dd1