diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f9ec250..290d761 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -72,6 +72,11 @@ if(UNIX) add_library(discord-rpc ${BASE_RPC_SRC}) target_link_libraries(discord-rpc PUBLIC pthread) + + if (APPLE) + target_link_libraries(discord-rpc PRIVATE "-framework AppKit, -mmacosx-version-min=10.10") + endif (APPLE) + target_compile_options(discord-rpc PRIVATE -g -Wall