Skip to content

Commit ee41a05

Browse files
fix to limit cmake wolftpm_wolfssl_dep export
1 parent 3bf81ba commit ee41a05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ endif()
456456
# of wolftpm's export set (it is build-tree-only). Downstream consumers of
457457
# wolftpm should `find_package(wolfssl)` themselves before find_package(wolftpm).
458458
if(BUILD_WOLFTPM_LIB)
459-
target_link_libraries(wolftpm PRIVATE wolftpm_wolfssl_dep)
459+
target_link_libraries(wolftpm PRIVATE $<BUILD_INTERFACE:wolftpm_wolfssl_dep>)
460460
endif()
461461

462462
# fwTPM requires wolfCrypt

0 commit comments

Comments
 (0)