From 9f49882c2490ef5768a3d256232d4bc6cb45bc3e Mon Sep 17 00:00:00 2001 From: Zephyron Date: Sat, 1 Feb 2025 21:47:03 +1000 Subject: [PATCH] build: update Qt to 6.8.1 and add permissive flag for discord-rpc Updates the Qt dependency from 6.7.3 to 6.8.1 when downloading Qt. Adds -fpermissive compile flag for discord-rpc target to fix build issues. --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 11264cc69e..5897da76f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -433,7 +433,7 @@ add_subdirectory(externals) if (ENABLE_QT) if (NOT USE_SYSTEM_QT) - download_qt(6.7.3) + download_qt(6.8.1) endif() find_package(Qt6 REQUIRED COMPONENTS Widgets Multimedia Concurrent Network) @@ -688,3 +688,7 @@ if(ENABLE_QT AND UNIX AND NOT APPLE) install(FILES "dist/org.yuzu_emu.yuzu.metainfo.xml" DESTINATION "share/metainfo") endif() + +if (USE_DISCORD_PRESENCE) + target_compile_options(discord-rpc PRIVATE -fpermissive) +endif()