mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
mbedTLS: adapt Dolphin code
This commit is contained in:
@ -703,16 +703,16 @@ if(USE_UPNP)
|
||||
endif()
|
||||
|
||||
if(NOT APPLE AND NOT ANDROID)
|
||||
include(FindPolarSSL)
|
||||
include(FindMbedTLS)
|
||||
endif()
|
||||
if(POLARSSL_FOUND AND POLARSSL_WORKS)
|
||||
message("Using shared PolarSSL")
|
||||
include_directories(${POLARSSL_INCLUDE_DIR})
|
||||
if(MBEDTLS_FOUND)
|
||||
message("Using shared mbed TLS")
|
||||
include_directories(${MBEDTLS_INCLUDE_DIRS})
|
||||
else()
|
||||
message("Using PolarSSL from Externals")
|
||||
set(POLARSSL_LIBRARY polarssl)
|
||||
add_subdirectory(Externals/polarssl/)
|
||||
include_directories(Externals/polarssl/include)
|
||||
message("Using static mbed TLS from Externals")
|
||||
set(MBEDTLS_LIBRARIES mbedtls mbedcrypto mbedx509)
|
||||
add_subdirectory(Externals/mbedtls/)
|
||||
include_directories(Externals/mbedtls/include)
|
||||
endif()
|
||||
|
||||
if(NOT APPLE AND NOT ANDROID)
|
||||
|
Reference in New Issue
Block a user