mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
This file was here for quite a long while now. Let's finally move most of the dependency checks to one centralized place.
37 lines
778 B
CMake
37 lines
778 B
CMake
add_cxx_compile_options(-Wvla)
|
|
|
|
set(SOURCES
|
|
OpenSSL.cpp
|
|
ASN1/ASN1.cpp
|
|
ASN1/DER.cpp
|
|
ASN1/PEM.cpp
|
|
Authentication/HMAC.cpp
|
|
Authentication/KMAC.cpp
|
|
BigFraction/BigFraction.cpp
|
|
BigInt/SignedBigInteger.cpp
|
|
BigInt/UnsignedBigInteger.cpp
|
|
Certificate/Certificate.cpp
|
|
Cipher/AES.cpp
|
|
Cipher/ChaCha.cpp
|
|
Curves/EdwardsCurve.cpp
|
|
Curves/SECPxxxr1.cpp
|
|
Hash/Argon2.cpp
|
|
Hash/SHAKE.cpp
|
|
Hash/BLAKE2b.cpp
|
|
Hash/HKDF.cpp
|
|
Hash/MD5.cpp
|
|
Hash/PBKDF2.cpp
|
|
Hash/SHA1.cpp
|
|
Hash/SHA2.cpp
|
|
Hash/SHA3.cpp
|
|
PK/EC.cpp
|
|
PK/MLDSA.cpp
|
|
PK/MLKEM.cpp
|
|
PK/RSA.cpp
|
|
)
|
|
|
|
ladybird_lib(LibCrypto crypto)
|
|
|
|
target_link_libraries(LibCrypto PRIVATE PkgConfig::libtommath)
|
|
target_link_libraries(LibCrypto PUBLIC OpenSSL::Crypto)
|