update dependency

This commit is contained in:
Kevin Yue
2021-09-13 23:58:51 +08:00
parent 0eb9cce8bb
commit 14b2f809b8
4 changed files with 84 additions and 30 deletions

View File

@@ -9,33 +9,16 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
set(QAPPLICATION_CLASS QApplication CACHE STRING "Inheritance class for SingleApplication")
find_package(Qt5 REQUIRED COMPONENTS
Core
Widgets
Network
WebSockets
WebEngine
WebEngineWidgets
DBus
)
include(cmake/Add3rdParty.cmake)
add_3rdparty(
NAME SingleApplication
GITHUB_REPOSITORY itay-grudev/SingleApplication
VERSION 3.3.0
EXCLUDE_FROM_ALL
)
add_3rdparty(
NAME plog
GITHUB_REPOSITORY SergiusTheBest/plog
GIT_TAG 1.1.5
EXCLUDE_FROM_ALL
)
add_subdirectory(GPService)
add_subdirectory(GPClient)