2020-04-28 10:21:03 +00:00
|
|
|
# Generated from qtactiveqt.pro.
|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 3.15.0)
|
|
|
|
|
|
|
|
include(".cmake.conf")
|
|
|
|
project(QtActiveQt # special case
|
|
|
|
VERSION "${QT_REPO_MODULE_VERSION}"
|
|
|
|
DESCRIPTION "Qt Active Qt Libraries" # special case
|
|
|
|
HOMEPAGE_URL "https://qt.io/"
|
|
|
|
LANGUAGES CXX C
|
|
|
|
)
|
|
|
|
|
2021-01-19 14:20:46 +00:00
|
|
|
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) # special case
|
|
|
|
find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Qml Quick Gui Widgets PrintSupport) # special case
|
2020-04-28 10:21:03 +00:00
|
|
|
|
2021-01-19 14:20:46 +00:00
|
|
|
if(NOT TARGET Qt::Gui OR NOT TARGET Qt::Widgets OR NOT TARGET Qt::PrintSupport)
|
|
|
|
message(NOTICE "Skipping the build as the condition \"TARGET Qt::Gui\", \"TARGET Qt::Widget\" "
|
|
|
|
"or \"TARGET Qt::Printsupport\" is not met.")
|
2020-04-28 10:21:03 +00:00
|
|
|
return()
|
|
|
|
endif()
|
2021-01-19 14:20:46 +00:00
|
|
|
|
2020-04-28 10:21:03 +00:00
|
|
|
qt_build_repo()
|