Externals/ed25519: Add CMakeLists.txt

This commit is contained in:
spycrab 2019-01-19 23:26:03 +01:00
parent 80f4181f60
commit 6a6fc56865
2 changed files with 18 additions and 0 deletions

View File

@ -587,6 +587,11 @@ else()
set(PNG png) set(PNG png)
endif() endif()
if (APPLE)
message(STATUS "Using ed25519 from Externals")
add_subdirectory(Externals/ed25519)
endif()
# Using static soundtouch from Externals # Using static soundtouch from Externals
# Unable to use system soundtouch library: We require shorts, not floats. # Unable to use system soundtouch library: We require shorts, not floats.
add_subdirectory(Externals/soundtouch) add_subdirectory(Externals/soundtouch)

13
Externals/ed25519/CMakeLists.txt vendored Normal file
View File

@ -0,0 +1,13 @@
project(ed25519 C)
add_library(ed25519
add_scalar.c
ge.c
keypair.c
seed.c
sign.c
fe.c
key_exchange.c
sc.c
sha512.c
verify.c)