build: change the way wolfssl compile definitions are declared

This commit is contained in:
2026-05-13 11:02:52 -03:00
parent 1e81167e0b
commit 4d520638d8
+1 -4
View File
@@ -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