Browse Source
fix
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
1 changed files with
13 additions and
0 deletions
-
CMakeLists.txt
|
|
@ -173,6 +173,19 @@ if (YUZU_STATIC_BUILD) |
|
|
endif() |
|
|
endif() |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
## certain libraries need extra static libs to be linked ## |
|
|
|
|
|
if (YUZU_STATIC_BUILD AND MINGW) |
|
|
|
|
|
macro(extra_libs) |
|
|
|
|
|
foreach(lib ${ARGN}) |
|
|
|
|
|
find_library(${lib}_LIBRARY ${lib} REQUIRED) |
|
|
|
|
|
link_libraries(${${lib}_LIBRARY}) |
|
|
|
|
|
endforeach() |
|
|
|
|
|
endmacro() |
|
|
|
|
|
|
|
|
|
|
|
# ffmpeg |
|
|
|
|
|
extra_libs(iconv) |
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
# Detect current compilation architecture and create standard definitions |
|
|
# Detect current compilation architecture and create standard definitions |
|
|
# ======================================================================= |
|
|
# ======================================================================= |
|
|
|
|
|
|
|
|
|