Skip to content
Snippets Groups Projects
Commit 22bd9a1a authored by Stephen Hurd's avatar Stephen Hurd
Browse files

Add support for DEBIAN_HATES_YOU

parent 4599a06a
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,11 @@ if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows") ...@@ -45,6 +45,11 @@ if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
if(CURSES_FOUND) if(CURSES_FOUND)
list(APPEND SOURCE curs_cio.c) list(APPEND SOURCE curs_cio.c)
set(USE_CURSES_ANYWAY TRUE) set(USE_CURSES_ANYWAY TRUE)
if (CURSES_HAVE_NCURSES_NCURSES_H)
target_compile_definitions(ciolib DEBIAN_HATES_YOU)
elseif(CURSES_HAVE_NCURSES_H)
target_compile_definitions(ciolib N_CURSES_LIB)
endif()
else() else()
if(${CMAKE_SYSTEM_NAME} MATCHES "(Free|Open|Net)BSD") if(${CMAKE_SYSTEM_NAME} MATCHES "(Free|Open|Net)BSD")
list(APPEND SOURCE curs_cio.c) list(APPEND SOURCE curs_cio.c)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment