mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 19:59:00 +08:00
e57d38a812
- Not properly configured for debug builds and always forced /MT. Fixed by patching cmake. - Unable to stop building of examples, so delete afterwards.
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"
|
|
)
|