add include to wolfio.h and replace cmake NAMESPACE

This commit is contained in:
JacobBarthelmeh 2023-07-20 16:12:56 -07:00
parent 58318f9528
commit 9bc6fc64de
2 changed files with 4 additions and 1 deletions

View File

@ -2376,7 +2376,8 @@ install(FILES
# Install the export set
install(EXPORT wolfssl-targets
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/wolfssl
FILE wolfssl-config.cmake)
FILE wolfssl-targets.cmake
NAMESPACE wolfssl::)
# TODO: Distro build + rules for what to include in the distro.
# See various include.am files.

View File

@ -26,6 +26,8 @@
#ifndef WOLFSSL_IO_H
#define WOLFSSL_IO_H
#include <wolfssl/ssl.h>
#ifdef __cplusplus
extern "C" {
#endif