mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-10-02 14:19:38 +00:00
fix: build error
This commit is contained in:
parent
1e2da2c28c
commit
803002ff61
1 changed files with 5 additions and 0 deletions
|
@ -417,5 +417,10 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||||
Qt${QT_VERSION_MAJOR}::X11Extras
|
Qt${QT_VERSION_MAJOR}::X11Extras
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# pthread
|
||||||
|
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||||
|
find_package(Threads REQUIRED)
|
||||||
|
target_link_libraries(${PROJECT_NAME} PRIVATE Threads::Threads)
|
||||||
|
|
||||||
# linux set app icon: https://blog.csdn.net/MrNoboday/article/details/82870853
|
# linux set app icon: https://blog.csdn.net/MrNoboday/article/details/82870853
|
||||||
endif()
|
endif()
|
Loading…
Add table
Add a link
Reference in a new issue