Skip to content

Commit

Permalink
browser merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
summeroff committed Dec 19, 2024
1 parent 47b9e1c commit c77bf3b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cmake/Modules/ObsHelpers_Windows.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,12 @@ function(setup_obs_app target)
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>)
target_compile_options(obs-browser-helper PRIVATE $<IF:$<CONFIG:DEBUG>,/MTd,/MT>)
endif()

target_link_options(obs-browser PRIVATE "LINKER:/IGNORE:4099")

target_link_options(obs-browser-page PRIVATE "LINKER:/IGNORE:4099" "LINKER:/SUBSYSTEM:WINDOWS")
target_link_options(obs-browser-helper PRIVATE "LINKER:/IGNORE:4099" "LINKER:/SUBSYSTEM:WINDOWS")
endif()

_setup_obs_app(${ARGV})
Expand Down
3 changes: 0 additions & 3 deletions cmake/windows/helpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ function(set_target_properties_obs target)
elseif(target STREQUAL obs-browser-helper)
set_property(GLOBAL APPEND PROPERTY _OBS_EXECUTABLES ${target})
return()
elseif(target STREQUAL obs-browser-page)
set_property(GLOBAL APPEND PROPERTY _OBS_EXECUTABLES ${target})
return()
else()
set_property(GLOBAL APPEND PROPERTY _OBS_EXECUTABLES ${target})
endif()
Expand Down
2 changes: 1 addition & 1 deletion plugins/obs-browser

0 comments on commit c77bf3b

Please sign in to comment.