Skip to content

Commit

Permalink
use_wolfssl: Address netdata#17516 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoftsm committed Apr 26, 2024
1 parent d4f7eae commit f4b1f87
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,16 @@ if(ENABLE_WOLFSSL)
set(ENABLE_H2O False)
# OSSL_DECODER_CTX does not exist in WolfSSL
set(ENABLE_ACLK False)

# wolfssl
pkg_check_modules(WOLFSSL wolfssl)
else()
set(ENABLE_OPENSSL True)
option(ENABLE_H2O "Enable H2O web server (experimental)" True)
mark_as_advanced(ENABLE_H2O)

# openssl/crypto
pkg_check_modules(OPENSSL openssl)
endif()

if(ENABLE_ACLK OR ENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE)
Expand Down Expand Up @@ -519,12 +525,6 @@ if(FREEBSD OR MACOS)
set(HAVE_BUILTIN_ATOMICS True)
endif()

# openssl/crypto
pkg_check_modules(OPENSSL openssl)

# wolfssl
pkg_check_modules(WOLFSSL wolfssl)

if(NOT OPENSSL_FOUND AND ENABLE_OPENSSL)
if(MACOS)
execute_process(COMMAND
Expand Down

0 comments on commit f4b1f87

Please sign in to comment.