Fix code signing for macOS 10.10 (#260)

* Fix code signing for macOS 10.10
- Fixes #259

* Maybe this works
This commit is contained in:
Mason Sciotti 2018-12-19 08:40:51 -08:00 committed by GitHub
parent d478ed5608
commit 4e53fa0392
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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