Skip to content

Commit

Permalink
Merge pull request #6639 from JacobBarthelmeh/vcpkg
Browse files Browse the repository at this point in the history
add include to wolfio.h and replace cmake NAMESPACE
  • Loading branch information
SparkiDev committed Jul 21, 2023
2 parents b7b4be8 + 9bc6fc6 commit 452f6a8
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 452f6a8

Please sign in to comment.