Skip to content

Commit fde998c

Browse files
committed
cmake: Revert removal of runtime selection for legacy Windows builds
1 parent 1f9b458 commit fde998c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cmake/legacy.cmake

+6
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,12 @@ if(NOT OS_MACOS OR ENABLE_BROWSER_LEGACY)
137137
endif()
138138

139139
if(OS_WINDOWS)
140+
if(MSVC)
141+
target_compile_options(obs-browser PRIVATE $<IF:$<CONFIG:DEBUG>,/MTd,/MT>)
142+
143+
target_compile_options(obs-browser-page PRIVATE $<IF:$<CONFIG:DEBUG>,/MTd,/MT>)
144+
endif()
145+
140146
target_link_libraries(obs-browser PRIVATE CEF::Library d3d11 dxgi)
141147

142148
if(TARGET CEF::Wrapper_Debug)

0 commit comments

Comments
 (0)