Static link crt

This commit is contained in:
Chris Marsh 2017-11-09 14:24:30 -08:00
parent f872b4e49c
commit 7dc663a170
2 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ if(WIN32)
set(BASE_RPC_SRC ${BASE_RPC_SRC} connection_win.cpp discord_register_win.cpp)
add_library(discord-rpc ${RPC_LIBRARY_TYPE} ${BASE_RPC_SRC})
target_compile_options(discord-rpc PRIVATE /EHsc
/MT
/Wall
/wd4100 # unreferenced formal parameter
/wd4514 # unreferenced inline