diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-07-24 09:14:31 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-07-24 09:14:31 +0200 |
commit | d0af81c08dd460bea6cc748ae5536ccbfa2dda76 (patch) | |
tree | 9c2c93874cbd8e11edd6f3a6d6c7bf8774fe033d | |
parent | cabd2bad9baa36b32f26e7ef7e3247b72b2552f3 (diff) | |
download | ponymap-d0af81c08dd460bea6cc748ae5536ccbfa2dda76.tar.gz ponymap-d0af81c08dd460bea6cc748ae5536ccbfa2dda76.tar.xz ponymap-d0af81c08dd460bea6cc748ae5536ccbfa2dda76.zip |
Try harder to find ncursesw
-rw-r--r-- | CMakeLists.txt | 10 | ||||
m--------- | liberty | 0 |
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 |