Skip to content

Commit 9bc6fc6

Browse files
add include to wolfio.h and replace cmake NAMESPACE
1 parent 58318f9 commit 9bc6fc6

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2376,7 +2376,8 @@ install(FILES
23762376
# Install the export set
23772377
install(EXPORT wolfssl-targets
23782378
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/wolfssl
2379-
FILE wolfssl-config.cmake)
2379+
FILE wolfssl-targets.cmake
2380+
NAMESPACE wolfssl::)
23802381

23812382
# TODO: Distro build + rules for what to include in the distro.
23822383
# See various include.am files.

wolfssl/wolfio.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
#ifndef WOLFSSL_IO_H
2727
#define WOLFSSL_IO_H
2828

29+
#include <wolfssl/ssl.h>
30+
2931
#ifdef __cplusplus
3032
extern "C" {
3133
#endif

0 commit comments

Comments
 (0)