Third-Party: Disable some warnings in discord-rpc

This commit is contained in:
Vicki Pfau 2020-07-27 23:52:06 -07:00
parent 09e15aac7c
commit 32e058a0df
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ if(UNIX)
add_library(discord-rpc STATIC ${BASE_RPC_SRC})
target_link_libraries(discord-rpc PUBLIC pthread)
target_compile_options(discord-rpc PRIVATE -Wno-unknown-pragmas)
if (${WARNINGS_AS_ERRORS})
target_compile_options(discord-rpc PRIVATE -Werror)