Skip to content

Commit 98d94a4

Browse files
tytan652RytoEX
authored andcommitted
Enable Qt message loop on Linux
This fixes issues cause by building CEF with use_gtk=true which is the default.
1 parent be9f1b6 commit 98d94a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/os-linux.cmake

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
find_package(X11 REQUIRED)
22

3+
target_compile_definitions(obs-browser PRIVATE ENABLE_BROWSER_QT_LOOP)
4+
35
target_link_libraries(obs-browser PRIVATE CEF::Wrapper CEF::Library X11::X11)
46
set_target_properties(obs-browser PROPERTIES BUILD_RPATH "$ORIGIN/" INSTALL_RPATH "$ORIGIN/")
57

0 commit comments

Comments
 (0)