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

... and don't set them before.

parent 14b018c0
Branches
No related tags found
No related merge requests found
...@@ -45,11 +45,6 @@ if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows") ...@@ -45,11 +45,6 @@ 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