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_MakeAvailable(wolfssl)
|
||||
|
||||
target_compile_definitions(wolfssl PUBLIC
|
||||
-DWOLFSSL_ALT_NAMES
|
||||
-DWOLFSSL_ALPN
|
||||
)
|
||||
add_compile_definitions(WOLFSSL_ALT_NAMES WOLFSSL_ALPN)
|
||||
|
||||
# ---------------------
|
||||
# warnings
|
||||
|
||||
Reference in New Issue
Block a user