mirror of https://github.com/qt/qtcharts.git
21 lines
605 B
Plaintext
21 lines
605 B
Plaintext
# Generated from qtcharts.pro.
|
|
|
|
cmake_minimum_required(VERSION 3.15.0)
|
|
|
|
include(.cmake.conf)
|
|
project(QtCharts
|
|
VERSION "${QT_REPO_MODULE_VERSION}"
|
|
DESCRIPTION "Qt Charts Libraries"
|
|
HOMEPAGE_URL "https://qt.io/"
|
|
LANGUAGES CXX C
|
|
)
|
|
|
|
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core SET_ME_TO_SOMETHING_USEFUL)
|
|
find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS SET_ME_TO_SOMETHING_USEFUL)
|
|
|
|
if(NOT TARGET Qt::Widgets)
|
|
message(NOTICE "Skipping the build as the condition \"TARGET Qt::Widgets\" is not met.")
|
|
return()
|
|
endif()
|
|
qt_build_repo()
|