mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-20 11:35:56 +00:00
fix
This commit is contained in:
parent
803002ff61
commit
c9b4867c9f
1 changed files with 4 additions and 0 deletions
|
@ -417,6 +417,10 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|||
Qt${QT_VERSION_MAJOR}::X11Extras
|
||||
)
|
||||
|
||||
# xcb
|
||||
find_package(XCB REQUIRED)
|
||||
target_link_libraries(${PROJECT_NAME} ${LIBXCB_LIBRARIES})
|
||||
|
||||
# pthread
|
||||
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||
find_package(Threads REQUIRED)
|
||||
|
|
Loading…
Add table
Reference in a new issue