Skip to content

Commit

Permalink
libobs: Fix underlinking by adding libx11
Browse files Browse the repository at this point in the history
We directly depend on libx11 for various operations in obs-nix-x11.c,
not just xcb. So be sure to link it in too.

fixes #11667
  • Loading branch information
kkartaltepe authored and RytoEX committed Jan 16, 2025
1 parent 41a38f7 commit 22f2226
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libobs/cmake/os-linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ endif()
target_link_libraries(
libobs
PRIVATE
X11::X11
X11::x11-xcb
xcb::xcb
LibUUID::LibUUID
Expand Down

0 comments on commit 22f2226

Please sign in to comment.