[client,common] move SSO_MIB detection to client/common

This commit is contained in:
akallabeth 2025-05-22 10:27:48 +02:00
parent 62d86d0779
commit d7de808063
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5
2 changed files with 10 additions and 11 deletions

View File

@ -5,7 +5,6 @@
# Copyright 2011 Otavio Salvador <otavio@ossystems.com.br>
# Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
# Copyright 2012 HP Development Company, LLC
# Copyright 2025 Siemens
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@ -403,16 +402,6 @@ if(NOT WITHOUT_FREERDP_3x_DEPRECATED)
find_feature(Wayland ${WAYLAND_FEATURE_TYPE} ${WAYLAND_FEATURE_PURPOSE} ${WAYLAND_FEATURE_DESCRIPTION})
endif()
if(UNIX)
option(WITH_SSO_MIB "Build with sso-mib support" OFF)
else()
set(WITH_SSO_MIB OFF CACHE INTERNAL "unsupported platform")
endif()
if(WITH_SSO_MIB)
find_package(SSO_MIB REQUIRED)
endif()
option(WITH_LIBRESSL "build with LibreSSL" OFF)
if(WITH_LIBRESSL)
find_package(LibreSSL REQUIRED)

View File

@ -35,6 +35,16 @@ foreach(FREERDP_CHANNELS_CLIENT_SRC ${FREERDP_CHANNELS_CLIENT_SRCS})
list(APPEND SRCS "${FREERDP_CHANNELS_CLIENT_SRC}")
endforeach()
if(UNIX)
option(WITH_SSO_MIB "Build with sso-mib support" OFF)
else()
set(WITH_SSO_MIB OFF CACHE INTERNAL "unsupported platform")
endif()
if(WITH_SSO_MIB)
find_package(SSO_MIB REQUIRED)
endif()
if(NOT APPLE AND NOT WIN32 AND NOT ANDROID)
set(OPT_FUSE_DEFAULT ON)
else()