From 9780a7e259065f5eaa0fe59ce83ad8be303f0f50 Mon Sep 17 00:00:00 2001 From: fduncanh Date: Sun, 1 Aug 2021 16:58:48 -0400 Subject: [PATCH] Set _NET_WM_NAME (as server_name) so the window can be shared on screen-sharing software antimof#31 (should have been part of previous commi) --- CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d33a870..179b672 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,13 +4,18 @@ project(uxplay) set (CMAKE_CXX_STANDARD 11) +find_package(X11 REQUIRED) +link_libraries(${X11_LIBRARIES}) +include_directories(${X11_INCLUDE_DIR}) +# link_directories(${X11_LIBRARIES}) + add_subdirectory(lib/llhttp) add_subdirectory(lib/playfair) add_subdirectory(lib) add_subdirectory(renderers) add_executable( uxplay uxplay.cpp) -target_link_libraries ( uxplay renderers airplay ) +target_link_libraries ( uxplay renderers airplay ${X11_LIBRARIES}) install(PROGRAMS uxplay DESTINATION bin)