mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-24 11:37:12 +01:00

- 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"
|
|
)
|