From fda8b4f64f5387fd6e22ed62ffff2dd0fd46b6d9 Mon Sep 17 00:00:00 2001 From: David Garske Date: Fri, 7 Jun 2024 06:59:59 -0700 Subject: [PATCH] Fix for CMake single threaded. https://github.com/wolfSSL/wolfssl/issues/7609#issuecomment-2154327463 --- cmake/functions.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/functions.cmake b/cmake/functions.cmake index 279f5a82e0..ebba36948b 100644 --- a/cmake/functions.cmake +++ b/cmake/functions.cmake @@ -251,7 +251,7 @@ function(generate_build_flags) endif() set(BUILD_EXAMPLE_CLIENTS ${WOLFSSL_EXAMPLES} PARENT_SCOPE) set(BUILD_TESTS ${WOLFSSL_EXAMPLES} PARENT_SCOPE) - if(NOT WOLFSSL_SINGLETHREADED AND WOLFSSL_EXAMPLES AND NOT WOLFSSL_LEAN_TLS) + if(NOT WOLFSSL_SINGLE_THREADED AND WOLFSSL_EXAMPLES AND NOT WOLFSSL_LEAN_TLS) set(BUILD_THREADED_EXAMPLES "yes" PARENT_SCOPE) endif() set(BUILD_WOLFCRYPT_TESTS ${WOLFSSL_CRYPT_TESTS} PARENT_SCOPE)