--- conky-1.10.1/cmake/ConkyPlatformChecks.cmake 2015-11-18 16:47:45.000000000 +0100 +++ conky-1.10.1-patched/cmake/ConkyPlatformChecks.cmake 2016-05-09 10:51:39.881316034 +0200 @@ -121,10 +121,14 @@ if(BUILD_NCURSES) check_include_files(ncurses.h NCURSES_H) find_library(NCURSES_LIB NAMES ncurses) + find_library(TINFO_LIB NAMES tinfo) if(NOT NCURSES_H OR NOT NCURSES_LIB) message(FATAL_ERROR "Unable to find ncurses library") endif(NOT NCURSES_H OR NOT NCURSES_LIB) - set(conky_libs ${conky_libs} ${NCURSES_LIB}) + if(NOT TINFO_LIB) + message(FATAL_ERROR "Unable to find tinfo library (should be provided along with ncurses but is not)") + endif(NOT TINFO_LIB) + set(conky_libs ${conky_libs} ${NCURSES_LIB} ${TINFO_LIB}) endif(BUILD_NCURSES) if(BUILD_MYSQL)