mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-07-04 07:23:39 +02:00
CMakeLists.txt: set LIBANTELOPE_HASHIMPL_OPENSSL
This commit is contained in:
parent
682ea069a2
commit
be8096ed0f
1 changed files with 3 additions and 0 deletions
|
|
@ -92,6 +92,9 @@ endif()
|
||||||
include(OpenSSL)
|
include(OpenSSL)
|
||||||
target_link_libraries( ${LIB_NAME} PRIVATE OpenSSL::Crypto)
|
target_link_libraries( ${LIB_NAME} PRIVATE OpenSSL::Crypto)
|
||||||
|
|
||||||
|
# Hash implementation
|
||||||
|
set( LIBANTELOPE_HASHIMPL_OPENSSL 1 )
|
||||||
|
|
||||||
# EC Implementation
|
# EC Implementation
|
||||||
if (${EC_LIB} STREQUAL "libsecp256k1")
|
if (${EC_LIB} STREQUAL "libsecp256k1")
|
||||||
add_subdirectory( vendor/secp256k1 )
|
add_subdirectory( vendor/secp256k1 )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue