Skip to content

Commit

Permalink
cmake: Revert removal of runtime selection for legacy Windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
PatTheMav committed Dec 21, 2023
1 parent 1f9b458 commit fde998c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmake/legacy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,12 @@ if(NOT OS_MACOS OR ENABLE_BROWSER_LEGACY)
endif()

if(OS_WINDOWS)
if(MSVC)
target_compile_options(obs-browser PRIVATE $<IF:$<CONFIG:DEBUG>,/MTd,/MT>)

target_compile_options(obs-browser-page PRIVATE $<IF:$<CONFIG:DEBUG>,/MTd,/MT>)
endif()

target_link_libraries(obs-browser PRIVATE CEF::Library d3d11 dxgi)

if(TARGET CEF::Wrapper_Debug)
Expand Down

0 comments on commit fde998c

Please sign in to comment.