From 4ec7dcc109857df0e0d51084b317a845c1050f48 Mon Sep 17 00:00:00 2001 From: Herbert Poul Date: Wed, 17 Jun 2020 10:08:15 +0200 Subject: [PATCH] modifications from template to add argon2 sources --- linux/CMakeLists.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/linux/CMakeLists.txt b/linux/CMakeLists.txt index a5f3d24..b7e87af 100644 --- a/linux/CMakeLists.txt +++ b/linux/CMakeLists.txt @@ -1,11 +1,21 @@ cmake_minimum_required(VERSION 3.10) set(PROJECT_NAME "argon2_ffi") -project(${PROJECT_NAME} LANGUAGES CXX) +project(${PROJECT_NAME} LANGUAGES C CXX) set(PLUGIN_NAME "${PROJECT_NAME}_plugin") add_library(${PLUGIN_NAME} SHARED "${PLUGIN_NAME}.cc" + + ../ios/Classes/argon2_ffi.c + + ../ios/Classes/argon2src/argon2.c + ../ios/Classes/argon2src/core.c + ../ios/Classes/argon2src/encoding.c + ../ios/Classes/argon2src/genkat.c + ../ios/Classes/argon2src/ref.c + ../ios/Classes/argon2src/thread.c + ../ios/Classes/argon2src/blake2/blake2b.c ) apply_standard_settings(${PLUGIN_NAME}) set_target_properties(${PLUGIN_NAME} PROPERTIES