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

View File

@@ -196,6 +196,10 @@ add_definitions(
${GTK${GTK_VERSION}_CFLAGS_OTHER} ${GTK${GTK_VERSION}_CFLAGS_OTHER}
) )
if(ENABLE_UTP)
add_definitions(-DWITH_UTP)
endif()
if(WITH_APPINDICATOR) if(WITH_APPINDICATOR)
set_property(SOURCE SystemTrayIcon.cc APPEND PROPERTY COMPILE_DEFINITIONS HAVE_APPINDICATOR) set_property(SOURCE SystemTrayIcon.cc APPEND PROPERTY COMPILE_DEFINITIONS HAVE_APPINDICATOR)
if(APPINDICATOR_IS_AYATANA) if(APPINDICATOR_IS_AYATANA)