mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
[client,common] move SSO_MIB detection to client/common
This commit is contained in:
parent
62d86d0779
commit
d7de808063
@ -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)
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user