From f58c238d4a2e4a41f1f5e4b68ba2a320334730a9 Mon Sep 17 00:00:00 2001 From: Mike Gelfand Date: Sun, 11 Dec 2022 13:58:17 -0800 Subject: [PATCH] Show "Enable uTP" checkbox in preferences if supported (GTK client) (#4349) Broken with switch to CMake. Ideally, need an API/RPC method to request core capabilities to support remote sessions. --- gtk/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk/CMakeLists.txt b/gtk/CMakeLists.txt index c6894eb71..634c05a9c 100644 --- a/gtk/CMakeLists.txt +++ b/gtk/CMakeLists.txt @@ -196,6 +196,10 @@ add_definitions( ${GTK${GTK_VERSION}_CFLAGS_OTHER} ) +if(ENABLE_UTP) + add_definitions(-DWITH_UTP) +endif() + if(WITH_APPINDICATOR) set_property(SOURCE SystemTrayIcon.cc APPEND PROPERTY COMPILE_DEFINITIONS HAVE_APPINDICATOR) if(APPINDICATOR_IS_AYATANA)