build: change the way wolfssl compile definitions are declared
This commit is contained in:
+1
-4
@@ -51,10 +51,7 @@ set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
|
|||||||
FetchContent_GetProperties(wolfssl)
|
FetchContent_GetProperties(wolfssl)
|
||||||
FetchContent_MakeAvailable(wolfssl)
|
FetchContent_MakeAvailable(wolfssl)
|
||||||
|
|
||||||
target_compile_definitions(wolfssl PUBLIC
|
add_compile_definitions(WOLFSSL_ALT_NAMES WOLFSSL_ALPN)
|
||||||
-DWOLFSSL_ALT_NAMES
|
|
||||||
-DWOLFSSL_ALPN
|
|
||||||
)
|
|
||||||
|
|
||||||
# ---------------------
|
# ---------------------
|
||||||
# warnings
|
# warnings
|
||||||
|
|||||||
Reference in New Issue
Block a user