mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 12:27:52 +00:00
parent
29f1c05fbe
commit
abd0be51a0
@ -129,12 +129,12 @@ if(BUILD_HTTP)
|
||||
endif(BUILD_HTTP)
|
||||
|
||||
if(BUILD_NCURSES)
|
||||
pkg_check_modules(NCURSES ncurses)
|
||||
if(NOT NCURSES_FOUND)
|
||||
include(FindCurses)
|
||||
if(NOT CURSES_FOUND)
|
||||
message(FATAL_ERROR "Unable to find ncurses library")
|
||||
endif(NOT NCURSES_FOUND)
|
||||
set(conky_libs ${conky_libs} ${NCURSES_LIBRARIES})
|
||||
set(conky_includes ${conky_includes} ${NCURSES_INCLUDE_DIRS})
|
||||
endif(NOT CURSES_FOUND)
|
||||
set(conky_libs ${conky_libs} ${CURSES_LIBRARIES})
|
||||
set(conky_includes ${conky_includes} ${CURSES_INCLUDE_DIR})
|
||||
endif(BUILD_NCURSES)
|
||||
|
||||
if(BUILD_MYSQL)
|
||||
|
Loading…
Reference in New Issue
Block a user