diff --git a/CMakeLists.txt b/CMakeLists.txt index b77a9df..0c45975 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -146,9 +146,9 @@ else() target_compile_options(wolftpm PUBLIC ${WOLFSSL_CFLAGS_OTHER}) else() # For support with vcpkg - find_package(wolfssl CONFIG) + find_package(wolfssl CONFIG REQUIRED) if (wolfssl_FOUND) - target_link_libraries(wolftpm PUBLIC wolfssl) + target_link_libraries(wolftpm PUBLIC wolfssl::wolfssl) else() list(APPEND WOLFTPM_DEFINITIONS "-DWOLFTPM2_NO_WOLFCRYPT") endif()