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.
This commit is contained in:
Zephyron 2025-02-01 21:47:03 +10:00
parent ecc32958ec
commit 076d0e618d
No known key found for this signature in database
GPG key ID: 2177ADED8AC966AF

View file

@ -419,7 +419,7 @@ add_subdirectory(externals)
if (ENABLE_QT) if (ENABLE_QT)
if (NOT USE_SYSTEM_QT) if (NOT USE_SYSTEM_QT)
download_qt(6.7.3) download_qt(6.8.1)
endif() endif()
find_package(Qt6 REQUIRED COMPONENTS Widgets Multimedia Concurrent Network) find_package(Qt6 REQUIRED COMPONENTS Widgets Multimedia Concurrent Network)
@ -673,3 +673,5 @@ if(ENABLE_QT AND UNIX AND NOT APPLE)
install(FILES "dist/org.citron_emu.citron.metainfo.xml" install(FILES "dist/org.citron_emu.citron.metainfo.xml"
DESTINATION "share/metainfo") DESTINATION "share/metainfo")
endif() endif()
target_compile_options(discord-rpc PRIVATE -fpermissive)