win-capture: Add missing MSVC runtime setting to 32-bit build

This commit is contained in:
PatTheMav 2024-03-16 15:19:02 +01:00 committed by Ryan Foster
parent 7fab3d03e0
commit 14654807cb
3 changed files with 12 additions and 3 deletions

View file

@ -2,4 +2,7 @@ project(get-graphics-offsets)
add_executable(get-graphics-offsets)
target_link_libraries(get-graphics-offsets PRIVATE _get-graphics-offsets)
set_property(TARGET get-graphics-offsets PROPERTY OUTPUT_NAME get-graphics-offsets32)
# cmake-format: off
set_target_properties(get-graphics-offsets PROPERTIES OUTPUT_NAME get-graphics-offsets32 MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
# cmake-format: on

View file

@ -6,4 +6,7 @@ endif()
add_library(graphics-hook MODULE)
target_link_libraries(graphics-hook PRIVATE _graphics-hook)
set_property(TARGET graphics-hook PROPERTY OUTPUT_NAME graphics-hook32)
# cmake-format: off
set_target_properties(graphics-hook PROPERTIES OUTPUT_NAME graphics-hook32 MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
# cmake-format: on

View file

@ -2,4 +2,7 @@ project(inject-helper)
add_executable(inject-helper)
target_link_libraries(inject-helper PRIVATE _inject-helper)
set_property(TARGET inject-helper PROPERTY OUTPUT_NAME inject-helper32)
# cmake-format: off
set_target_properties(inject-helper PROPERTIES OUTPUT_NAME inject-helper32 MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
# cmake-format: on