diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-07-16 22:56:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-16 22:56:47 +0200 |
commit | 2461c78e3f9368e4a03b4c27fae207cbb1d9cfff (patch) | |
tree | 50812311958a38d27d9ebcd1cfa443b77ff1c40c /src/core/CMakeLists.txt | |
parent | file_sys/content_archive: Detect compressed NCAs (#11047) (diff) | |
parent | Rename variables to avoid -Wshadow warnings under GCC (diff) | |
download | yuzu-2461c78e3f9368e4a03b4c27fae207cbb1d9cfff.tar yuzu-2461c78e3f9368e4a03b4c27fae207cbb1d9cfff.tar.gz yuzu-2461c78e3f9368e4a03b4c27fae207cbb1d9cfff.tar.bz2 yuzu-2461c78e3f9368e4a03b4c27fae207cbb1d9cfff.tar.lz yuzu-2461c78e3f9368e4a03b4c27fae207cbb1d9cfff.tar.xz yuzu-2461c78e3f9368e4a03b4c27fae207cbb1d9cfff.tar.zst yuzu-2461c78e3f9368e4a03b4c27fae207cbb1d9cfff.zip |
Diffstat (limited to 'src/core/CMakeLists.txt')
-rw-r--r-- | src/core/CMakeLists.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 28cb6f86f..c3b688c5d 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -723,6 +723,7 @@ add_library(core STATIC hle/service/spl/spl_types.h hle/service/ssl/ssl.cpp hle/service/ssl/ssl.h + hle/service/ssl/ssl_backend.h hle/service/time/clock_types.h hle/service/time/ephemeral_network_system_clock_context_writer.h hle/service/time/ephemeral_network_system_clock_core.h @@ -864,6 +865,23 @@ if (ARCHITECTURE_x86_64 OR ARCHITECTURE_arm64) target_link_libraries(core PRIVATE dynarmic::dynarmic) endif() +if(ENABLE_OPENSSL) + target_sources(core PRIVATE + hle/service/ssl/ssl_backend_openssl.cpp) + target_link_libraries(core PRIVATE OpenSSL::SSL) +elseif (APPLE) + target_sources(core PRIVATE + hle/service/ssl/ssl_backend_securetransport.cpp) + target_link_libraries(core PRIVATE "-framework Security") +elseif (WIN32) + target_sources(core PRIVATE + hle/service/ssl/ssl_backend_schannel.cpp) + target_link_libraries(core PRIVATE secur32) +else() + target_sources(core PRIVATE + hle/service/ssl/ssl_backend_none.cpp) +endif() + if (YUZU_USE_PRECOMPILED_HEADERS) target_precompile_headers(core PRIVATE precompiled_headers.h) endif() |