mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 12:28:59 +08:00
25 lines
718 B
Diff
25 lines
718 B
Diff
|
--- a/src/CMakeLists.txt
|
||
|
+++ b/src/CMakeLists.txt
|
||
|
@@ -30,7 +30,6 @@ 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
|
||
|
@@ -102,13 +101,10 @@ install(
|
||
|
EXPORT "discord-rpc"
|
||
|
RUNTIME
|
||
|
DESTINATION "bin"
|
||
|
- CONFIGURATIONS Release
|
||
|
LIBRARY
|
||
|
DESTINATION "lib"
|
||
|
- CONFIGURATIONS Release
|
||
|
ARCHIVE
|
||
|
DESTINATION "lib"
|
||
|
- CONFIGURATIONS Release
|
||
|
INCLUDES
|
||
|
DESTINATION "include"
|
||
|
)
|