Merge pull request #284 from JacobBarthelmeh/cmake

make link libraries with wolfSSL be PUBLIC
pull/285/head
David Garske 2023-07-26 14:48:32 -07:00 committed by GitHub
commit cc88dcd4ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ else()
# For support with vcpkg
find_package(wolfssl CONFIG REQUIRED)
if (wolfssl_FOUND)
target_link_libraries(wolftpm PRIVATE wolfssl::wolfssl)
target_link_libraries(wolftpm PUBLIC wolfssl::wolfssl)
else()
list(APPEND WOLFTPM_DEFINITIONS "-DWOLFTPM2_NO_WOLFCRYPT")
endif()