We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 48775d4 + 64bdfbd commit 699217bCopy full SHA for 699217b
CMakeLists.txt
@@ -150,7 +150,10 @@ else()
150
# For support with vcpkg
151
find_package(wolfssl CONFIG)
152
if (wolfssl_FOUND)
153
- target_link_libraries(wolftpm PUBLIC wolfssl)
+ find_path(WOLFSSL_INCLUDE_DIR NAMES wolfssl/ssl.h)
154
+ find_library(WOLFSSL_LIBRARY_PATH NAMES wolfssl)
155
+ include_directories(${WOLFSSL_INCLUDE_DIR})
156
+ target_link_libraries(wolftpm PUBLIC ${WOLFSSL_LIBRARY_PATH})
157
else()
158
list(APPEND WOLFTPM_DEFINITIONS "-DWOLFTPM2_NO_WOLFCRYPT")
159
endif()
0 commit comments