File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ elseif(LINUX)
110110 set (CXX_LIBS "-static-libgcc" )
111111 endif ()
112112
113- target_link_libraries (${PROJECT_NAME} ${CXX_LIBS} pulse udev )
113+ target_link_libraries (${PROJECT_NAME} ${CXX_LIBS} pulse udev X11 Xfixes Xrandr Xcomposite Xdamage Xtst Xext Xrender )
114114elseif (WIN32 )
115115 target_link_libraries (${PROJECT_NAME} dwmapi.lib mf.lib mfreadwrite.lib mfplat.lib mfuuid.lib shcore.lib )
116116endif ()
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ elseif(LINUX)
172172 pkg_check_modules (DBUS REQUIRED dbus-1 )
173173
174174 target_include_directories (${PROJECT_NAME} PUBLIC ${DBUS_INCLUDE_DIRS} )
175- target_compile_definitions (${PROJECT_NAME} PUBLIC WEBRTC_LINUX WEBRTC_POSIX WEBRTC_USE_H264 )
175+ target_compile_definitions (${PROJECT_NAME} PUBLIC WEBRTC_LINUX WEBRTC_POSIX WEBRTC_USE_H264 WEBRTC_USE_X11 )
176176 target_link_libraries (${PROJECT_NAME} X11 Xfixes Xrandr Xcomposite dbus-1 )
177177elseif (WIN32 )
178178 target_compile_definitions (${PROJECT_NAME} PUBLIC WEBRTC_WIN WEBRTC_USE_H264 NOMINMAX WIN32_LEAN_AND_MEAN NDEBUG )
You can’t perform that action at this time.
0 commit comments