MinGW build portability fixes

AKA you can build melonDS for Windows on Fedora now
This commit is contained in:
Nadia Holmquist Pedersen
2024-05-15 18:57:49 +02:00
parent a2406e3c0e
commit d21bc64cb3
4 changed files with 12 additions and 3 deletions

View File

@ -112,6 +112,10 @@ if (WIN32)
../glad/glad_wgl.c
)
if (MINGW AND CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux")
set_property(TARGET melonDS PROPERTY AUTORCC_OPTIONS "--no-zstd")
endif()
elseif (APPLE)
if (NOT USE_QT6)
find_library(COCOA_LIB Cocoa)