Permalink
Browse files

Untested attempt to fix ios/mac discord

(no machines around right now)
  • Loading branch information...
hrydgard committed Aug 26, 2018
1 parent e34378a commit 529b8c602594dbdbe5539441f1f415ff3866872b
Showing with 10 additions and 1 deletion.
  1. +2 −0 CMakeLists.txt
  2. +2 −0 ext/CMakeLists.txt
  3. +6 −1 ext/discord-rpc-build/CMakeLists.txt
View
@@ -1758,7 +1758,9 @@ if(FFmpeg_FOUND)
endif()
# Discord integration
if(NOT IOS)
target_link_libraries(${CoreLibName} discord-rpc)
endif()
setup_target_project(${CoreLibName} Core)
View
@@ -12,4 +12,6 @@ add_subdirectory(glslang)
add_subdirectory(snappy)
add_subdirectory(udis86)
add_subdirectory(SPIRV-Cross-build)
if(NOT IOS)
add_subdirectory(discord-rpc-build)
endif()
@@ -14,9 +14,14 @@ set(ALL_SOURCE_FILES
${SRC_DIR}/discord_rpc.cpp
${SRC_DIR}/rpc_connection.cpp
${SRC_DIR}/serialization.cpp
${SRC_DIR}/discord_register_osx.m
)
if(APPLE)
set(ALL_SOURCE_FILES ${ALL_SOURCE_FILES}
${SRC_DIR}/discord_register_osx.m
)
endif()
if(WIN32)
set(ALL_SOURCE_FILES ${ALL_SOURCE_FILES} ${SRC_DIR}/connection_win.cpp)
set(ALL_SOURCE_FILES ${ALL_SOURCE_FILES} ${SRC_DIR}/discord_register_win.cpp)

0 comments on commit 529b8c6

Please sign in to comment.