tutorial-kirigami2/CMakeLists.txt
2024-06-27 20:55:21 +02:00

28 lines
580 B
CMake

cmake_minimum_required(VERSION 3.16)
project(tutorial_kirigami2)
find_package(ECM REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
find_package(Qt${QT_MAJOR_VERSION} REQUIRED NO_MODULE COMPONENTS
Core
Quick
Test
Gui
QuickControls2
Widgets
)
find_package(KF${QT_MAJOR_VERSION} REQUIRED COMPONENTS
Kirigami2
I18n
CoreAddons
)
add_subdirectory(src)
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)