From 4f2c980343b321e7fccf48190c32bfb4bca426f4 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Tue, 4 Oct 2016 12:18:35 +0200 Subject: Added a bignum library to abstract possible implementations. --- libcmix-crypto/curve25519/CMakeLists.txt | 5 ++--- libcmix-crypto/elgamal/CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'libcmix-crypto') diff --git a/libcmix-crypto/curve25519/CMakeLists.txt b/libcmix-crypto/curve25519/CMakeLists.txt index afcc1b4..847c26c 100644 --- a/libcmix-crypto/curve25519/CMakeLists.txt +++ b/libcmix-crypto/curve25519/CMakeLists.txt @@ -1,4 +1,3 @@ - add_library(curve25519-interface INTERFACE) target_include_directories(curve25519-interface @@ -13,7 +12,7 @@ target_link_libraries(curve25519-interface INTERFACE cmix-crypto-interface ) -foreach(impl ${curve25519_implementations}) +foreach(impl ${libcmix_crypto_curve25519_implementations}) add_subdirectory(${impl}) endforeach() @@ -27,7 +26,7 @@ target_include_directories(curve25519-implementation target_link_libraries(curve25519-implementation PUBLIC curve25519-interface - PUBLIC curve25519-${curve25519_implementation} + PUBLIC curve25519-${libcmix_crypto_curve25519_implementation} ) diff --git a/libcmix-crypto/elgamal/CMakeLists.txt b/libcmix-crypto/elgamal/CMakeLists.txt index b92e5ae..8ee9a11 100644 --- a/libcmix-crypto/elgamal/CMakeLists.txt +++ b/libcmix-crypto/elgamal/CMakeLists.txt @@ -12,7 +12,7 @@ target_link_libraries(elgamal-interface INTERFACE cmix-crypto-interface ) -foreach(impl ${elgamal_implementations}) +foreach(impl ${libcmix_crypto_elgamal_implementations}) add_subdirectory(${impl}) endforeach() @@ -26,5 +26,5 @@ target_include_directories(elgamal-implementation target_link_libraries(elgamal-implementation PUBLIC elgamal-interface - PUBLIC elgamal-${elgamal_implementation} + PUBLIC elgamal-${libcmix_crypto_elgamal_implementation} ) -- cgit v1.2.3-70-g09d2