From 2bcc8ae038cb485bee2c7534d8aa1408e655aeab Mon Sep 17 00:00:00 2001 From: Michael Baentsch <57787676+baentsch@users.noreply.github.com> Date: Mon, 4 May 2020 15:43:36 +0200 Subject: [PATCH] Default alg setting brought in line with documentation (#744) --- .CMake/alg_support.cmake | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.CMake/alg_support.cmake b/.CMake/alg_support.cmake index 8988c83ac..dfa930f15 100644 --- a/.CMake/alg_support.cmake +++ b/.CMake/alg_support.cmake @@ -1,7 +1,11 @@ include(CMakeDependentOption) -set(OQS_KEM_DEFAULT "OQS_KEM_alg_frodokem_640_aes") -set(OQS_SIG_DEFAULT "OQS_SIG_alg_dilithium_2") +if(NOT DEFINED OQS_KEM_DEFAULT) + set(OQS_KEM_DEFAULT "OQS_KEM_alg_frodokem_640_aes") +endif() +if(NOT DEFINED OQS_SIG_DEFAULT) + set(OQS_SIG_DEFAULT "OQS_SIG_alg_dilithium_2") +endif() if(NOT WIN32) option(OQS_USE_OPENSSL "" ON)