From 1954893eaf24be5988d1beec457a6526c36812fe Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Wed, 12 Oct 2022 11:53:09 -0500 Subject: [PATCH] Need to enable curl for RSS. --- cmake/ConkyBuildOptions.cmake | 5 +++++ src/ccurl_thread.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cmake/ConkyBuildOptions.cmake b/cmake/ConkyBuildOptions.cmake index 41cad021..1e8d12bc 100644 --- a/cmake/ConkyBuildOptions.cmake +++ b/cmake/ConkyBuildOptions.cmake @@ -238,6 +238,11 @@ option(BUILD_CURL "Enable if you want Curl support" false) option(BUILD_RSS "Enable if you want RSS support" false) +if(BUILD_RSS) + # if RSS is enabled, curl is required + set(BUILD_CURL true) +endif(BUILD_RSS) + option(BUILD_APCUPSD "Enable APCUPSD support" true) option(BUILD_ICAL "Enable if you want iCalendar (RFC 5545) support" false) diff --git a/src/ccurl_thread.cc b/src/ccurl_thread.cc index 2e818723..80a807ed 100644 --- a/src/ccurl_thread.cc +++ b/src/ccurl_thread.cc @@ -37,7 +37,7 @@ /* * The following code is the conky curl thread lib, which can be re-used to - * create any curl-based object (see weather and rss). Below is an + * create any curl-based object (see rss). Below is an * implementation of a curl-only object ($curl) which can also be used as an * example. */