Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FreeRDP/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta <antenore@simbiosi.org>2020-05-27 01:18:29 +0300
committerAntenore Gatta <antenore@simbiosi.org>2020-05-27 01:18:29 +0300
commit8b7dc32e2be13d05326a4b2870bf3ae7c64b54dc (patch)
treebe6467c0d945cfc48716ac3f3b41b9c75e6836c4 /CMakeLists.txt
parentc0aaa389415f421abf7167f18383cdcef0009140 (diff)
Disable news at compile time, add an opt-in option. Debian #961501
Signed-off-by: Antenore Gatta <antenore@simbiosi.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 39fbf3ccc..26f0f257c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -337,6 +337,17 @@ if(WITH_TRACE_CALLS)
add_definitions(-DWITH_TRACE_CALLS)
endif()
+option(WITH_NEWS "Disable online version checking" ON)
+if(WITH_NEWS)
+ message(STATUS "Enabling version check connecting to remmina.org")
+ add_definitions(-DWITH_NEWS)
+ set(RMNEWS_ENABLE_NEWS 1)
+else()
+ message(STATUS "Disabling version check connecting to remmina.org")
+ set(RMNEWS_ENABLE_NEWS 0)
+endif()
+
+
option(WITH_MANPAGES "Build with MANPAGES" ON)
if(WITH_MANPAGES)
message(STATUS "Enabling man pages.")