cmake: Remove workarounds for legacy obs-browser submodule

This commit is contained in:
PatTheMav
2022-08-10 02:05:27 +02:00
committed by Patrick Heyer
parent 2006092076
commit c6ea39534f
2 changed files with 0 additions and 16 deletions
-11
View File
@@ -189,17 +189,6 @@ function(setup_obs_app target)
add_dependencies(${target} ${OBS_SCRIPTING_MODULE_LIST})
endif()
# detect outdated obs-browser submodule
if(NOT TARGET OBS::browser AND TARGET obs-browser)
target_compile_features(obs-browser-page PRIVATE cxx_std_17)
add_library(OBS::browser ALIAS obs-browser)
if(NOT TARGET OBS::browser-panels AND BROWSER_PANEL_SUPPORT_ENABLED)
add_library(OBS::browser-panels ALIAS obs-browser)
endif()
endif()
if(TARGET OBS::browser)
setup_target_browser(${target})
endif()
-5
View File
@@ -158,11 +158,6 @@ function(setup_obs_app target)
install(TARGETS ${target} BUNDLE DESTINATION "." COMPONENT obs_app)
# detect outdated obs-browser submodule
if(TARGET obs-browser-page OR TARGET obs-browser-page_gpu)
add_library(OBS::browser ALIAS obs-browser)
endif()
if(TARGET OBS::browser)
setup_target_browser(${target})
endif()