summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-11-25 09:39:16 +0100
committerGitHub <noreply@github.com>2022-11-25 09:39:16 +0100
commit2572b0a5ea615369c61c6dfac8a60c95d16495fe (patch)
tree1c96112aadf3f5e9ba5b3457d46527b0fd1f1815
parentMerge pull request #9304 from liamwhite/menu-roll (diff)
parentexternals: always use LibreSSL on Windows (diff)
downloadyuzu-2572b0a5ea615369c61c6dfac8a60c95d16495fe.tar
yuzu-2572b0a5ea615369c61c6dfac8a60c95d16495fe.tar.gz
yuzu-2572b0a5ea615369c61c6dfac8a60c95d16495fe.tar.bz2
yuzu-2572b0a5ea615369c61c6dfac8a60c95d16495fe.tar.lz
yuzu-2572b0a5ea615369c61c6dfac8a60c95d16495fe.tar.xz
yuzu-2572b0a5ea615369c61c6dfac8a60c95d16495fe.tar.zst
yuzu-2572b0a5ea615369c61c6dfac8a60c95d16495fe.zip
-rw-r--r--externals/CMakeLists.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index 7f0a6d069..d807ef65f 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -92,10 +92,14 @@ endif()
add_subdirectory(sirit)
if (ENABLE_WEB_SERVICE)
- find_package(OpenSSL 1.1)
- if (OPENSSL_FOUND)
- set(OPENSSL_LIBRARIES OpenSSL::SSL OpenSSL::Crypto)
- else()
+ if (NOT WIN32)
+ find_package(OpenSSL 1.1)
+ if (OPENSSL_FOUND)
+ set(OPENSSL_LIBRARIES OpenSSL::SSL OpenSSL::Crypto)
+ endif()
+ endif()
+
+ if (WIN32 OR NOT OPENSSL_FOUND)
# LibreSSL
set(LIBRESSL_SKIP_INSTALL ON CACHE BOOL "")
set(OPENSSLDIR "/etc/ssl/")