Merge pull request #9844 from abouvier/jwt-fix

cmake: fix cpp-jwt build
This commit is contained in:
liamwhite 2023-02-27 19:46:19 -05:00 committed by GitHub
commit a78a475815
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 10 deletions

View file

@ -244,6 +244,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)