Skip to content

Commit

Permalink
add include to wolfio.h and replace cmake NAMESPACE
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobBarthelmeh committed Jul 20, 2023
1 parent 58318f9 commit 9bc6fc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions wolfssl/wolfio.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#ifndef WOLFSSL_IO_H
#define WOLFSSL_IO_H

#include <wolfssl/ssl.h>

#ifdef __cplusplus
extern "C" {
#endif
Expand Down

0 comments on commit 9bc6fc6

Please sign in to comment.