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:
parent
d478ed5608
commit
4e53fa0392
1 changed files with 5 additions and 0 deletions
|
@ -72,6 +72,11 @@ if(UNIX)
|
||||||
|
|
||||||
add_library(discord-rpc ${BASE_RPC_SRC})
|
add_library(discord-rpc ${BASE_RPC_SRC})
|
||||||
target_link_libraries(discord-rpc PUBLIC pthread)
|
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
|
target_compile_options(discord-rpc PRIVATE
|
||||||
-g
|
-g
|
||||||
-Wall
|
-Wall
|
||||||
|
|
Loading…
Reference in a new issue