Skip to content

Commit

Permalink
Enable Qt message loop on Linux
Browse files Browse the repository at this point in the history
This fixes issues cause by building CEF with use_gtk=true which is the default.
  • Loading branch information
tytan652 authored and RytoEX committed Aug 22, 2024
1 parent be9f1b6 commit 98d94a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/os-linux.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
find_package(X11 REQUIRED)

target_compile_definitions(obs-browser PRIVATE ENABLE_BROWSER_QT_LOOP)

target_link_libraries(obs-browser PRIVATE CEF::Wrapper CEF::Library X11::X11)
set_target_properties(obs-browser PROPERTIES BUILD_RPATH "$ORIGIN/" INSTALL_RPATH "$ORIGIN/")

Expand Down

0 comments on commit 98d94a4

Please sign in to comment.