Skip to content

Commit

Permalink
Enable Discord presence on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
RipleyTom authored and Megamouse committed Jan 25, 2024
1 parent e8ad6ec commit 7661df0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .ci/build-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ cmake .. \
-DUSE_SYSTEM_CURL=ON \
-DUSE_SDL=ON \
-DUSE_SYSTEM_FFMPEG=OFF \
-DUSE_DISCORD_RPC=ON \
-DOpenGL_GL_PREFERENCE=LEGACY \
-DLLVM_DIR=/opt/llvm/lib/cmake/llvm \
-DSTATIC_LINK_LLVM=ON \
Expand Down
2 changes: 2 additions & 0 deletions 3rdparty/discord-rpc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# DiscordRPC
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
if (USE_DISCORD_RPC AND (WIN32 OR CMAKE_SYSTEM MATCHES "Linux" OR APPLE) AND COMPILER_X86)
if (WIN32 AND NOT MSVC)
Expand Down

0 comments on commit 7661df0

Please sign in to comment.