-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
29 lines (23 loc) · 884 Bytes
/
CMakeLists.txt
File metadata and controls
29 lines (23 loc) · 884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
project(om-repo-picker)
SET(PROJECT_VERSION "1.2.4")
cmake_minimum_required(VERSION 3.14.0 FATAL_ERROR)
set(QT_MIN_VERSION "6.2.0")
set(QT_MAJOR_VERSION 6)
set(KF_MAJOR_VERSION 6)
find_package(ECM 5.240.0 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${PROJECT_SOURCE_DIR})
include(ECMInstallIcons)
include(FeatureSummary)
include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings)
# unlike ECM maintainers, we like Qt keywords
# and automatic ASCII-to-QString casts
remove_definitions(-DQT_NO_KEYWORDS)
remove_definitions(-DQT_NO_CAST_FROM_ASCII)
remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY)
find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Gui Widgets LinguistTools)
add_subdirectory(src)
add_subdirectory(cli)
add_subdirectory(desktop)
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)