msvc: copy openssl dlls (#6428)

This commit is contained in:
Vitor K
2023-04-21 14:09:40 -03:00
committed by GitHub
parent 3dd6557332
commit c9b2bd9077
6 changed files with 23 additions and 1 deletions

View File

@@ -34,6 +34,10 @@ endif()
if (MSVC)
include(CopyCitraSDLDeps)
copy_citra_SDL_deps(citra)
if (ENABLE_WEB_SERVICE AND OPENSSL_DLL_DIR)
include(CopyCitraOpensslDeps)
copy_citra_openssl_deps(citra)
endif()
endif()
if (CITRA_USE_PRECOMPILED_HEADERS)

View File

@@ -322,6 +322,10 @@ if (MSVC)
include(CopyCitraSDLDeps)
copy_citra_Qt5_deps(citra-qt)
copy_citra_SDL_deps(citra-qt)
if (ENABLE_WEB_SERVICE AND OPENSSL_DLL_DIR)
include(CopyCitraOpensslDeps)
copy_citra_openssl_deps(citra-qt)
endif()
if (ENABLE_FFMPEG)
include(CopyCitraFFmpegDeps)

View File

@@ -12,6 +12,10 @@ target_link_libraries(citra-room PRIVATE common network)
if (ENABLE_WEB_SERVICE)
target_compile_definitions(citra-room PRIVATE -DENABLE_WEB_SERVICE)
target_link_libraries(citra-room PRIVATE web_service)
if (MSVC AND OPENSSL_DLL_DIR)
include(CopyCitraOpensslDeps)
copy_citra_openssl_deps(citra-room)
endif()
endif()
target_link_libraries(citra-room PRIVATE cryptopp)