cmake: fix cpp-jwt build

This commit is contained in:
Alexandre Bouvier 2023-02-21 21:55:04 +01:00
parent 9fc17e8fdb
commit 14dc3d3c23
2 changed files with 11 additions and 10 deletions

View file

@ -242,6 +242,9 @@ endif()
if (ENABLE_WEB_SERVICE)
find_package(cpp-jwt 1.4 CONFIG)
find_package(httplib 0.12 MODULE)
if (NOT cpp-jwt_FOUND OR NOT httplib_FOUND)
find_package(OpenSSL 1.1 MODULE COMPONENTS Crypto SSL)
endif()
endif()
if (YUZU_TESTS)