obs-browser: Add browser plugin as a submodule
This commit is contained in:
parent
7fa0f7c31d
commit
677ae3798d
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -8,3 +8,6 @@
|
||||
[submodule "plugins/enc-amf"]
|
||||
path = plugins/enc-amf
|
||||
url = https://github.com/Xaymar/OBS-AMD-Advanced-Media-Framework.git
|
||||
[submodule "plugins/obs-browser"]
|
||||
path = plugins/obs-browser
|
||||
url = https://github.com/kc5nra/obs-browser.git
|
||||
|
@ -43,6 +43,17 @@ elseif("${CMAKE_SYSTEM_NAME}" MATCHES "FreeBSD")
|
||||
add_subdirectory(linux-jack)
|
||||
endif()
|
||||
|
||||
if(WIN32 OR APPLE)
|
||||
option(BUILD_BROWSER "Build browser plugin" OFF)
|
||||
if (BUILD_BROWSER)
|
||||
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/obs-browser/CMakeLists.txt")
|
||||
add_subdirectory(obs-browser)
|
||||
else()
|
||||
message(STATUS "obs-browser submodule not found! Please fetch submodules. obs-browser plugin disabled.")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_subdirectory(image-source)
|
||||
add_subdirectory(obs-x264)
|
||||
add_subdirectory(obs-libfdk)
|
||||
|
1
plugins/obs-browser
Submodule
1
plugins/obs-browser
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 2eaf69f7a3d2ac98a45d5cc96124ab7c666bfa2f
|
Loading…
x
Reference in New Issue
Block a user