Browse Source
fix openssl
Signed-off-by: crueter <crueter@eden-emu.dev>
pull/3003/head
crueter
3 months ago
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
3 changed files with
6 additions and
1 deletions
-
CMakeLists.txt
-
src/qt_common/CMakeLists.txt
-
src/yuzu/CMakeLists.txt
|
|
@ -411,7 +411,7 @@ if (ANDROID OR WIN32 OR APPLE OR PLATFORM_SUN) |
|
|
set(DEFAULT_ENABLE_OPENSSL OFF) |
|
|
set(DEFAULT_ENABLE_OPENSSL OFF) |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
|
|
|
if (ENABLE_WEB_SERVICE) |
|
|
|
|
|
|
|
|
if (ENABLE_WEB_SERVICE OR USE_DISCORD_PRESENCE) |
|
|
set(DEFAULT_ENABLE_OPENSSL ON) |
|
|
set(DEFAULT_ENABLE_OPENSSL ON) |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
@ -42,10 +42,12 @@ if (USE_DISCORD_PRESENCE) |
|
|
discord/discord_impl.h |
|
|
discord/discord_impl.h |
|
|
) |
|
|
) |
|
|
target_link_libraries(qt_common PUBLIC DiscordRPC::discord-rpc httplib::httplib) |
|
|
target_link_libraries(qt_common PUBLIC DiscordRPC::discord-rpc httplib::httplib) |
|
|
|
|
|
|
|
|
if (YUZU_USE_BUNDLED_OPENSSL) |
|
|
if (YUZU_USE_BUNDLED_OPENSSL) |
|
|
target_link_libraries(qt_common PUBLIC OpenSSL::SSL OpenSSL::Crypto) |
|
|
target_link_libraries(qt_common PUBLIC OpenSSL::SSL OpenSSL::Crypto) |
|
|
target_compile_definitions(qt_common PRIVATE CPPHTTPLIB_OPENSSL_SUPPORT) |
|
|
target_compile_definitions(qt_common PRIVATE CPPHTTPLIB_OPENSSL_SUPPORT) |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
|
|
|
target_compile_definitions(qt_common PUBLIC USE_DISCORD_PRESENCE) |
|
|
target_compile_definitions(qt_common PUBLIC USE_DISCORD_PRESENCE) |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
@ -461,6 +461,9 @@ endif() |
|
|
|
|
|
|
|
|
if (YUZU_STATIC_BUILD AND MINGW) |
|
|
if (YUZU_STATIC_BUILD AND MINGW) |
|
|
static_qt_link(yuzu) |
|
|
static_qt_link(yuzu) |
|
|
|
|
|
|
|
|
|
|
|
# sijfjkfnjkdfjsbjsbsdfhvbdf |
|
|
|
|
|
target_link_libraries(yuzu PRIVATE OpenSSL::SSL OpenSSL::Crypto) |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
|
|
|
create_target_directory_groups(yuzu) |
|
|
create_target_directory_groups(yuzu) |