mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
move the 3rd party libs
This commit is contained in:
parent
2a68f6aa2d
commit
9f3ad7f9ad
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -1,7 +1,7 @@
|
|||||||
[submodule "singleapplication"]
|
[submodule "singleapplication"]
|
||||||
path = SingleApplication
|
path = 3rdparty/SingleApplication
|
||||||
url = https://github.com/itay-grudev/SingleApplication.git
|
url = https://github.com/itay-grudev/SingleApplication.git
|
||||||
|
|
||||||
[submodule "plog"]
|
[submodule "plog"]
|
||||||
path = plog
|
path = 3rdparty/plog
|
||||||
url = https://github.com/SergiusTheBest/plog.git
|
url = https://github.com/SergiusTheBest/plog.git
|
||||||
|
0
plog → 3rdparty/plog
vendored
0
plog → 3rdparty/plog
vendored
@ -9,6 +9,8 @@ set(CMAKE_AUTOMOC ON)
|
|||||||
set(CMAKE_AUTORCC ON)
|
set(CMAKE_AUTORCC ON)
|
||||||
set(CMAKE_AUTOUIC ON)
|
set(CMAKE_AUTOUIC ON)
|
||||||
|
|
||||||
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty")
|
||||||
|
|
||||||
set(QAPPLICATION_CLASS QApplication CACHE STRING "Inheritance class for SingleApplication")
|
set(QAPPLICATION_CLASS QApplication CACHE STRING "Inheritance class for SingleApplication")
|
||||||
|
|
||||||
include(cmake/CPM.cmake)
|
include(cmake/CPM.cmake)
|
||||||
@ -22,8 +24,19 @@ find_package(Qt5 REQUIRED COMPONENTS
|
|||||||
DBus
|
DBus
|
||||||
)
|
)
|
||||||
|
|
||||||
CPMAddPackage("gh:itay-grudev/SingleApplication@3.3.0")
|
CPMAddPackage(
|
||||||
CPMAddPackage("gh:SergiusTheBest/plog#1.1.5")
|
NAME SingleApplication
|
||||||
|
GITHUB_REPOSITORY itay-grudev/SingleApplication
|
||||||
|
VERSION 3.3.0
|
||||||
|
CPM_LOCAL_PACKAGES_ONLY YES
|
||||||
|
)
|
||||||
|
CPMAddPackage(
|
||||||
|
NAME plog
|
||||||
|
GITHUB_REPOSITORY SergiusTheBest/plog
|
||||||
|
GIT_TAG 1.1.5
|
||||||
|
CPM_LOCAL_PACKAGES_ONLY YES
|
||||||
|
# CPM_USE_LOCAL_PACKAGES YES
|
||||||
|
)
|
||||||
|
|
||||||
add_subdirectory(GPService)
|
add_subdirectory(GPService)
|
||||||
add_subdirectory(GPClient)
|
add_subdirectory(GPClient)
|
Loading…
Reference in New Issue
Block a user