Third-Party: Fix macOS build

This commit is contained in:
Vicki Pfau 2019-03-14 23:02:55 -07:00
parent fd63e36985
commit 4cec95c2f1
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ if(UNIX)
if (APPLE) if (APPLE)
add_definitions(-DDISCORD_OSX) add_definitions(-DDISCORD_OSX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
set(BASE_RPC_SRC ${BASE_RPC_SRC} discord_register_osx.m) set(BASE_RPC_SRC ${BASE_RPC_SRC} discord_register_osx.m)
else (APPLE) else (APPLE)
add_definitions(-DDISCORD_LINUX) add_definitions(-DDISCORD_LINUX)