Browse Source

fix platform libs

Signed-off-by: crueter <crueter@eden-emu.dev>
pull/2994/head
crueter 4 months ago
parent
commit
1e239778a8
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 9
      CMakeLists.txt

9
CMakeLists.txt

@ -162,13 +162,10 @@ if (YUZU_STATIC_BUILD)
extra_libs(bz2 Lerc)
# libharfbuzz.a
extra_libs(graphite2 rpcrt4)
extra_libs(graphite2)
# libbrotlienc.a
extra_libs(brotlicommon)
# openssl
extra_libs(crypt32)
extra_libs(brotlienc brotlidec brotlicommon)
# msys2 quazip does not build a static lib
set(QuaZip-Qt6_FORCE_BUNDLED ON)
@ -732,7 +729,7 @@ elseif (WIN32)
set(PLATFORM_LIBRARIES winmm ws2_32 iphlpapi)
if (MINGW)
# PSAPI is the Process Status API
set(PLATFORM_LIBRARIES ${PLATFORM_LIBRARIES} psapi imm32 version)
set(PLATFORM_LIBRARIES ${PLATFORM_LIBRARIES} psapi imm32 version crypt32 rpcrt4)
endif()
elseif (PLATFORM_HAIKU)
# Haiku is so special :)

Loading…
Cancel
Save