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 f4b1f87 commit 209ee99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1639,9 +1639,7 @@ if (ENABLE_WOLFSSL)
message(STATUS "Compiling Netdata with WolfSSL")

target_include_directories(libnetdata BEFORE PUBLIC ${WOLFSSL_INCLUDE_DIRS})
target_compile_options(libnetdata PUBLIC ${WOLFSSL_CFLAGS_OTHER}
-DENABLE_WOLFSSL
-DWOLFSSL_BASE64_ENCODE)
target_compile_options(libnetdata PUBLIC ${WOLFSSL_CFLAGS_OTHER})
target_link_libraries(libnetdata PUBLIC ${WOLFSSL_LDFLAGS})
endif()

Expand Down
1 change: 1 addition & 0 deletions packaging/cmake/config.cmake.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
// enabled features

#cmakedefine ENABLE_OPENSSL
#cmakedefine ENABLE_WOLFSSL
#cmakedefine ENABLE_CLOUD
#cmakedefine ENABLE_ACLK
#cmakedefine ENABLE_ML
Expand Down

0 comments on commit 209ee99

Please sign in to comment.