obs-browser: Enable Linux support
This requires CEF >= 3683
This commit is contained in:
parent
269ebd2983
commit
61aeaa5ca3
@ -1763,6 +1763,10 @@ static int run_program(fstream &logFile, int argc, char *argv[])
|
||||
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
#endif
|
||||
|
||||
#if !defined(_WIN32) && !defined(__APPLE__) && BROWSER_AVAILABLE
|
||||
setenv("QT_NO_GLIB", "1", true);
|
||||
#endif
|
||||
|
||||
QCoreApplication::addLibraryPath(".");
|
||||
|
||||
#if __APPLE__
|
||||
|
@ -48,7 +48,6 @@ 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")
|
||||
@ -62,6 +61,7 @@ if(WIN32 OR APPLE)
|
||||
set(BROWSER_AVAILABLE_INTERNAL OFF CACHE BOOL "Internal global cmake variable" FORCE)
|
||||
endif()
|
||||
|
||||
if(WIN32 OR APPLE)
|
||||
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/obs-vst/CMakeLists.txt")
|
||||
add_subdirectory(obs-vst)
|
||||
else()
|
||||
|
Loading…
x
Reference in New Issue
Block a user