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.
This commit is contained in:
Mike Gelfand 2022-12-11 13:58:17 -08:00 committed by GitHub
parent 5bd4f007ac
commit f58c238d4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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)