mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-03 22:28:39 +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
|
Qt${QT_VERSION_MAJOR}::X11Extras
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# xcb
|
||||||
|
find_package(XCB REQUIRED)
|
||||||
|
target_link_libraries(${PROJECT_NAME} ${LIBXCB_LIBRARIES})
|
||||||
|
|
||||||
# pthread
|
# pthread
|
||||||
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||||
find_package(Threads REQUIRED)
|
find_package(Threads REQUIRED)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue