Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15
conky
conky-1.10.4-ncurses.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File conky-1.10.4-ncurses.patch of Package conky
Index: conky-1.10.4/cmake/ConkyPlatformChecks.cmake =================================================================== --- conky-1.10.4.orig/cmake/ConkyPlatformChecks.cmake +++ conky-1.10.4/cmake/ConkyPlatformChecks.cmake @@ -119,12 +119,12 @@ if(BUILD_HTTP) endif(BUILD_HTTP) if(BUILD_NCURSES) - pkg_check_modules(NCURSES ncurses) - if(NOT NCURSES_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}) + check_include_files(ncurses.h NCURSES_H) + find_library(NCURSES_LIB NAMES ncurses) + 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}) endif(BUILD_NCURSES) if(BUILD_MYSQL)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor