From 33ee75d36c21548e7cd73801b0c264c7739b1ae2 Mon Sep 17 00:00:00 2001 From: crueter Date: Mon, 10 Nov 2025 20:39:15 -0500 Subject: [PATCH] fix mingw Signed-off-by: crueter --- CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c96703b0ba..34a05edf74 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -128,7 +128,11 @@ if (YUZU_STATIC_BUILD) set(YUZU_STATIC_SUFFIX _static) ## some libraries use CMAKE_IMPORT_LIBRARY_SUFFIX e.g. Harfbuzz ## - set(CMAKE_IMPORT_LIBRARY_SUFFIX ".a;.tbd;.dylib") + if (APPLE) + set(CMAKE_IMPORT_LIBRARY_SUFFIX ".a;.tbd;.dylib") + else() + set(CMAKE_IMPORT_LIBRARY_SUFFIX ".a") + endif() ## certain libraries need extra static libs to be linked ## macro(extra_libs) @@ -1081,4 +1085,4 @@ if(ENABLE_QT AND UNIX AND NOT APPLE) DESTINATION "share/mime/packages") install(FILES "dist/dev.eden_emu.eden.metainfo.xml" DESTINATION "share/metainfo") -endif() \ No newline at end of file +endif()