From d34d77681ad4020c0d830aa9d35b418995dadbc5 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Fri, 10 Nov 2023 14:59:41 -0800 Subject: [PATCH] uint128 and CMake 1. Add to the check for HAVE___UINT128_T adding it to the list of items that get dumped into the options.h file. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 338dacf4ea..51edd2236f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -127,6 +127,7 @@ check_type_size("time_t" SIZEOF_TIME_T) # but we want it as 1. if(HAVE___UINT128_T) set(HAVE___UINT128_T "1" CACHE INTERNAL "Result of TRY_COMPILE" FORCE) + list(APPEND WOLFSSL_DEFINITIONS "-DHAVE___UINT128_T") endif() include(TestBigEndian)