summaryrefslogtreecommitdiffstats
path: root/externals
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-11-23 16:24:25 +0100
committerLiam <byteslice@airmail.cc>2022-11-23 16:24:25 +0100
commitcdb2e4eaff4c061eba7c9a35496090a0d5f76b29 (patch)
treed13df10833aeac00c9bdd6cf142b0e3486578454 /externals
parentMerge pull request #9299 from lioncash/cast (diff)
downloadyuzu-cdb2e4eaff4c061eba7c9a35496090a0d5f76b29.tar
yuzu-cdb2e4eaff4c061eba7c9a35496090a0d5f76b29.tar.gz
yuzu-cdb2e4eaff4c061eba7c9a35496090a0d5f76b29.tar.bz2
yuzu-cdb2e4eaff4c061eba7c9a35496090a0d5f76b29.tar.lz
yuzu-cdb2e4eaff4c061eba7c9a35496090a0d5f76b29.tar.xz
yuzu-cdb2e4eaff4c061eba7c9a35496090a0d5f76b29.tar.zst
yuzu-cdb2e4eaff4c061eba7c9a35496090a0d5f76b29.zip
Diffstat (limited to 'externals')
-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/")