mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
cmake: Disable discord-rpc for libretro builds.
This commit is contained in:
parent
25197451e5
commit
ee918a4535
2 changed files with 2 additions and 2 deletions
|
@ -1804,7 +1804,7 @@ if(FFmpeg_FOUND)
|
|||
endif()
|
||||
|
||||
# Discord integration
|
||||
if(USE_DISCORD AND NOT IOS)
|
||||
if(USE_DISCORD AND NOT IOS AND NOT LIBRETRO)
|
||||
add_definitions(-DUSE_DISCORD=1)
|
||||
target_link_libraries(${CoreLibName} discord-rpc)
|
||||
endif()
|
||||
|
|
|
@ -17,6 +17,6 @@ add_subdirectory(glslang)
|
|||
add_subdirectory(snappy)
|
||||
add_subdirectory(udis86)
|
||||
add_subdirectory(SPIRV-Cross-build)
|
||||
if(USE_DISCORD AND NOT IOS)
|
||||
if(USE_DISCORD AND NOT IOS AND NOT LIBRETRO)
|
||||
add_subdirectory(discord-rpc-build)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue