- removed useless linker flags set by Discord RPC for macOS

This fixes lots of 'object file was built for newer macOS version than being linked' warnings
This commit is contained in:
alexey.lysiuk 2022-04-17 16:24:16 +03:00
parent 346cae04be
commit 201652bb36

View file

@ -72,10 +72,6 @@ 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