From 4d520638d827647f499d8cba09c9c7617ccbbe17 Mon Sep 17 00:00:00 2001 From: neru Date: Wed, 13 May 2026 11:02:52 -0300 Subject: [PATCH] build: change the way wolfssl compile definitions are declared --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fca10c8..28b5504 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,10 +51,7 @@ set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE) FetchContent_GetProperties(wolfssl) FetchContent_MakeAvailable(wolfssl) -target_compile_definitions(wolfssl PUBLIC - -DWOLFSSL_ALT_NAMES - -DWOLFSSL_ALPN -) +add_compile_definitions(WOLFSSL_ALT_NAMES WOLFSSL_ALPN) # --------------------- # warnings