Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 562154 | Differences between
and this patch

Collapse All | Expand All

(-)conky-1.10.1/cmake/ConkyPlatformChecks.cmake (-5 / +5 lines)
Lines 119-130 Link Here
119
endif(BUILD_HTTP)
119
endif(BUILD_HTTP)
120
120
121
if(BUILD_NCURSES)
121
if(BUILD_NCURSES)
122
	check_include_files(ncurses.h NCURSES_H)
122
	pkg_check_modules(NCURSES ncurses)
123
	find_library(NCURSES_LIB NAMES ncurses)
123
	if(NOT NCURSES_FOUND)
124
	if(NOT NCURSES_H OR NOT NCURSES_LIB)
125
		message(FATAL_ERROR "Unable to find ncurses library")
124
		message(FATAL_ERROR "Unable to find ncurses library")
126
	endif(NOT NCURSES_H OR NOT NCURSES_LIB)
125
	endif(NOT NCURSES_FOUND)
127
	set(conky_libs ${conky_libs} ${NCURSES_LIB})
126
	set(conky_libs ${conky_libs} ${NCURSES_LIBRARIES})
127
	set(conky_includes ${conky_includes} ${NCURSES_INCLUDE_DIRS})
128
endif(BUILD_NCURSES)
128
endif(BUILD_NCURSES)
129
129
130
if(BUILD_MYSQL)
130
if(BUILD_MYSQL)

Return to bug 562154