mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-03 21:25:04 -06:00
inlcude MD4 for clang-cl
This commit is contained in:
parent
65cc853079
commit
dddd1dcda3
16
3rdparty/wolfssl/CMakeLists.txt
vendored
16
3rdparty/wolfssl/CMakeLists.txt
vendored
@ -19,7 +19,10 @@ else()
|
|||||||
option(WOLFSSL_OPENSSLEXTRA "Enable extra OpenSSL API, size+ (default: disabled)" ON)
|
option(WOLFSSL_OPENSSLEXTRA "Enable extra OpenSSL API, size+ (default: disabled)" ON)
|
||||||
option(WOLFSSL_HARDEN "Enable Hardened build, Enables Timing Resistance and Blinding (default: enabled)" OFF)
|
option(WOLFSSL_HARDEN "Enable Hardened build, Enables Timing Resistance and Blinding (default: enabled)" OFF)
|
||||||
option(WOLFSSL_ALT_CERT_CHAINS "Enable support for Alternate certification chains (default: disabled)" ON)
|
option(WOLFSSL_ALT_CERT_CHAINS "Enable support for Alternate certification chains (default: disabled)" ON)
|
||||||
|
set(WOLFSSL_MD4 "yes" CACHE BOOL "" FORCE)
|
||||||
|
set(WOLFSSL_CURL "yes" CACHE BOOL "" FORCE)
|
||||||
|
set(WOLFSSL_DES_ECB "yes" CACHE BOOL "" FORCE)
|
||||||
|
|
||||||
add_subdirectory(wolfssl EXCLUDE_FROM_ALL)
|
add_subdirectory(wolfssl EXCLUDE_FROM_ALL)
|
||||||
|
|
||||||
target_compile_definitions(wolfssl PUBLIC WOLFSSL_DES_ECB HAVE_WRITE_DUP WOLFSSL_NO_OPTIONS_H)
|
target_compile_definitions(wolfssl PUBLIC WOLFSSL_DES_ECB HAVE_WRITE_DUP WOLFSSL_NO_OPTIONS_H)
|
||||||
@ -28,7 +31,16 @@ else()
|
|||||||
# Disable 128-bit Math
|
# Disable 128-bit Math
|
||||||
set(WOLFSSL_ASM ON CACHE BOOL "" FORCE)
|
set(WOLFSSL_ASM ON CACHE BOOL "" FORCE)
|
||||||
set(WOLFSSL_FAST_MATH OFF CACHE BOOL "" FORCE)
|
set(WOLFSSL_FAST_MATH OFF CACHE BOOL "" FORCE)
|
||||||
target_compile_definitions(wolfssl PUBLIC WOLFSSL_SP_NO_128BIT FP_MAX_BITS=4096)
|
set(WOLFSSL_CURL ON)
|
||||||
|
target_compile_definitions(wolfssl PUBLIC
|
||||||
|
WOLFSSL_SP_NO_128BIT
|
||||||
|
FP_MAX_BITS=4096
|
||||||
|
OPENSSL_EXTRA
|
||||||
|
HAVE_ECC
|
||||||
|
WOLFSSL_MD4
|
||||||
|
WOLFSSL_MD5
|
||||||
|
WOLFSSL_DES_ECB
|
||||||
|
)
|
||||||
|
|
||||||
# Disable warnings
|
# Disable warnings
|
||||||
target_compile_options(wolfssl PRIVATE /w)
|
target_compile_options(wolfssl PRIVATE /w)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user