Files
ladybird/Libraries/LibCrypto/CMakeLists.txt
Undefine e39a8719fd Meta: Move most dependency checks to check_for_dependencies.cmake
This file was here for quite a long while now. Let's finally move most
of the dependency checks to one centralized place.
2026-04-20 16:41:29 -06:00

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)