cmake: Disable discord-rpc for libretro builds.

This commit is contained in:
orbea committed 2020-03-17 12:32:07 -07:00
1 parent 25197451e5
commit ee918a4535
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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()
+1 -1
View File
@@ -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()