summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
blob: 2d17d9ca80736ccc3e904a689faeeb88196fc940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
cmake_minimum_required(VERSION 3.16)

include(.cmake.conf)
project(QtVehicleServices
    VERSION "${QT_REPO_MODULE_VERSION}"
    DESCRIPTION "Qt Vehicle Services"
    HOMEPAGE_URL "https://qt.io/"
    LANGUAGES CXX C
)

# Make sure we only use latest private CMake API, aka no compatibility wrappers.
set(QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS TRUE)

find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core InterfaceFramework)
find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Gui Qml Quick QuickTest IfRemoteObjectsHelper RemoteObjects Multimedia Sql DBus Widgets)
qt_internal_project_setup()

qt_build_repo()