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