[cmake] drop deprecated clients when WITH_FREERDP_3x_DEPRECATED is OFF

This commit is contained in:
akallabeth
2025-03-06 07:23:47 +01:00
parent 44d5461cd5
commit 98443eb8f4
3 changed files with 29 additions and 18 deletions

View File

@@ -397,7 +397,9 @@ if(ANDROID)
set(PCSC_FEATURE_TYPE "DISABLED")
endif()
find_feature(Wayland ${WAYLAND_FEATURE_TYPE} ${WAYLAND_FEATURE_PURPOSE} ${WAYLAND_FEATURE_DESCRIPTION})
if(WITH_FREERDP_3x_DEPRECATED)
find_feature(Wayland ${WAYLAND_FEATURE_TYPE} ${WAYLAND_FEATURE_PURPOSE} ${WAYLAND_FEATURE_DESCRIPTION})
endif()
option(WITH_LIBRESSL "build with LibreSSL" OFF)
if(WITH_LIBRESSL)
@@ -527,9 +529,12 @@ include(CommonConfigOptions)
if(FREERDP_UNIFIED_BUILD)
add_subdirectory(winpr)
if(WITH_WAYLAND)
add_subdirectory(uwac)
if(WITH_FREERDP_3x_DEPRECATED)
if(WITH_WAYLAND)
add_subdirectory(uwac)
endif()
endif()
if(WITH_SERVER)
option(WITH_RDTK "build rdtk toolkit" ON)
if(WITH_RDTK)