Skip to content

Commit

Permalink
Merge pull request wolfSSL#284 from JacobBarthelmeh/cmake
Browse files Browse the repository at this point in the history
make link libraries with wolfSSL be PUBLIC
  • Loading branch information
dgarske authored Jul 26, 2023
2 parents a204aba + f5c6f37 commit cc88dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit cc88dcd

Please sign in to comment.