GlobalProtect-openconnect/CMakeLists.txt
2021-09-13 11:11:02 +08:00

38 lines
741 B
CMake

cmake_minimum_required(VERSION 3.14.0)
project(GlobalProtect-openconnect VERSION 1.3.3 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
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
WebSockets
WebEngine
WebEngineWidgets
DBus
)
include(cmake/Add3rdParty.cmake)
add_3rdparty(
NAME SingleApplication
GITHUB_REPOSITORY itay-grudev/SingleApplication
VERSION 3.3.0
)
add_3rdparty(
NAME plog
GITHUB_REPOSITORY SergiusTheBest/plog
GIT_TAG 1.1.5
)
add_subdirectory(GPService)
add_subdirectory(GPClient)