win-capture: Use static runtimes for hooks/helpers
(Note: This commit also modifies the ipc-util/seg-service modules) When compiling the final project, always compile ipc-util/get-graphics-offsets/graphics-hook/inject-helper/seg-service with static MSVC runtimes to prevent the need of requiring the MSVC runtimes for both architectures.
This commit is contained in:
4
deps/ipc-util/CMakeLists.txt
vendored
4
deps/ipc-util/CMakeLists.txt
vendored
@@ -22,6 +22,10 @@ else()
|
||||
ipc-util/pipe-posix.c)
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
add_compile_options("$<$<CONFIG:RelWithDebInfo>:/MT>")
|
||||
endif()
|
||||
|
||||
add_library(ipc-util STATIC
|
||||
${ipc-util_SOURCES}
|
||||
${ipc-util_HEADERS})
|
||||
|
Reference in New Issue
Block a user