84941bcc9f
* Renaming changes: * macro prefix "POLARSSL" -> "MBEDTLS" * functions now prefixed with "mbedtls_" * rename PolarSSL++ -> mbedTLS++ * rename polarssl submodule * Use mbedtls' AES-CFB8 implementation. * Add cSslConfig to wrap mbedtls_ssl_config * Update cTCPLink and cBlockingSslClientSocket to use cSslConfig * Use cSslConfig in cHTTPServer * Use cSslConfig for cMojangAPI::SecureRequest * CI Fixes * Set -fomit-frame-pointer on the right target
11 lines
405 B
CMake
11 lines
405 B
CMake
|
|
# This script includes PolarSSL, if not already included.
|
|
# It is needed for when multiple projects reference PolarSSL.
|
|
|
|
if(NOT TARGET mbedtls)
|
|
message("including mbedtls")
|
|
set(ENABLE_TESTING OFF CACHE BOOL "Disable tests")
|
|
set(ENABLE_PROGRAMS OFF CACHE BOOL "Disable programs")
|
|
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/mbedtls/ ${CMAKE_CURRENT_BINARY_DIR}/lib/mbedtls EXCLUDE_FROM_ALL)
|
|
endif()
|