Lines 121-130
Link Here
|
121 |
if(BUILD_NCURSES) |
121 |
if(BUILD_NCURSES) |
122 |
check_include_files(ncurses.h NCURSES_H) |
122 |
check_include_files(ncurses.h NCURSES_H) |
123 |
find_library(NCURSES_LIB NAMES ncurses) |
123 |
find_library(NCURSES_LIB NAMES ncurses) |
|
|
124 |
find_library(TINFO_LIB NAMES tinfo) |
124 |
if(NOT NCURSES_H OR NOT NCURSES_LIB) |
125 |
if(NOT NCURSES_H OR NOT NCURSES_LIB) |
125 |
message(FATAL_ERROR "Unable to find ncurses library") |
126 |
message(FATAL_ERROR "Unable to find ncurses library") |
126 |
endif(NOT NCURSES_H OR NOT NCURSES_LIB) |
127 |
endif(NOT NCURSES_H OR NOT NCURSES_LIB) |
127 |
set(conky_libs ${conky_libs} ${NCURSES_LIB}) |
128 |
if(NOT TINFO_LIB) |
|
|
129 |
message(FATAL_ERROR "Unable to find tinfo library (should be provided along with ncurses but is not)") |
130 |
endif(NOT TINFO_LIB) |
131 |
set(conky_libs ${conky_libs} ${NCURSES_LIB} ${TINFO_LIB}) |
128 |
endif(BUILD_NCURSES) |
132 |
endif(BUILD_NCURSES) |
129 |
|
133 |
|
130 |
if(BUILD_MYSQL) |
134 |
if(BUILD_MYSQL) |