mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 05:21:25 +12:00
Enable Discord presence on Linux
This commit is contained in:
parent
e8ad6ec673
commit
7661df0847
2 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,7 @@ cmake .. \
|
||||||
-DUSE_SYSTEM_CURL=ON \
|
-DUSE_SYSTEM_CURL=ON \
|
||||||
-DUSE_SDL=ON \
|
-DUSE_SDL=ON \
|
||||||
-DUSE_SYSTEM_FFMPEG=OFF \
|
-DUSE_SYSTEM_FFMPEG=OFF \
|
||||||
|
-DUSE_DISCORD_RPC=ON \
|
||||||
-DOpenGL_GL_PREFERENCE=LEGACY \
|
-DOpenGL_GL_PREFERENCE=LEGACY \
|
||||||
-DLLVM_DIR=/opt/llvm/lib/cmake/llvm \
|
-DLLVM_DIR=/opt/llvm/lib/cmake/llvm \
|
||||||
-DSTATIC_LINK_LLVM=ON \
|
-DSTATIC_LINK_LLVM=ON \
|
||||||
|
|
2
3rdparty/discord-rpc/CMakeLists.txt
vendored
2
3rdparty/discord-rpc/CMakeLists.txt
vendored
|
@ -1,6 +1,8 @@
|
||||||
# DiscordRPC
|
# DiscordRPC
|
||||||
add_library(3rdparty_discordRPC INTERFACE)
|
add_library(3rdparty_discordRPC INTERFACE)
|
||||||
|
|
||||||
|
check_cxx_compiler_flag("-msse -msse2 -mcx16" COMPILER_X86)
|
||||||
|
|
||||||
# We don't want Discord Rich Presence on the BSDs and other OSes
|
# We don't want Discord Rich Presence on the BSDs and other OSes
|
||||||
if (USE_DISCORD_RPC AND (WIN32 OR CMAKE_SYSTEM MATCHES "Linux" OR APPLE) AND COMPILER_X86)
|
if (USE_DISCORD_RPC AND (WIN32 OR CMAKE_SYSTEM MATCHES "Linux" OR APPLE) AND COMPILER_X86)
|
||||||
if (WIN32 AND NOT MSVC)
|
if (WIN32 AND NOT MSVC)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue