From 2bf9602e83715264cc438feeccf102d76bc98b76 Mon Sep 17 00:00:00 2001 From: Alexandre Bouvier Date: Tue, 21 Feb 2023 21:55:04 +0100 Subject: cmake: fix cpp-jwt build --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 10a3de9e2..e09410a59 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) -- cgit v1.2.3