Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
1 | cmake_minimum_required(VERSION 3.0) | 1 | cmake_minimum_required(VERSION 3.0) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | # KDE Applications Version, managed by release script | 3 | # KDE Applications Version, managed by release script | ||
4 | set (KDE_APPLICATIONS_VERSION_MAJOR "19") | 4 | set (KDE_APPLICATIONS_VERSION_MAJOR "19") | ||
5 | set (KDE_APPLICATIONS_VERSION_MINOR "11") | 5 | set (KDE_APPLICATIONS_VERSION_MINOR "11") | ||
6 | set (KDE_APPLICATIONS_VERSION_MICRO "70") | 6 | set (KDE_APPLICATIONS_VERSION_MICRO "70") | ||
7 | set (KDE_APPLICATIONS_VERSION "${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO}") | 7 | set (KDE_APPLICATIONS_VERSION "${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO}") | ||
8 | project(kio-extras VERSION ${KDE_APPLICATIONS_VERSION}) | 8 | project(kio-extras VERSION ${KDE_APPLICATIONS_VERSION}) | ||
9 | 9 | | |||
10 | include(FeatureSummary) | 10 | include(FeatureSummary) | ||
11 | 11 | | |||
12 | set(QT_MIN_VERSION "5.8.0") | 12 | set(QT_MIN_VERSION "5.8.0") | ||
vonreth: What requires this bump? | |||||
brute4s99: ah, I thought QFileDevice needs it. Reverting this. | |||||
13 | set(KF5_MIN_VERSION "5.48.0") | 13 | set(KF5_MIN_VERSION "5.48.0") | ||
14 | find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS DBus Network Widgets Svg) | 14 | find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS DBus Network Widgets Svg) | ||
15 | 15 | | |||
16 | find_package(Qt5Test ${QT_MIN_VERSION} CONFIG QUIET) | 16 | find_package(Qt5Test ${QT_MIN_VERSION} CONFIG QUIET) | ||
17 | set_package_properties(Qt5Test PROPERTIES | 17 | set_package_properties(Qt5Test PROPERTIES | ||
18 | PURPOSE "Required for tests" | 18 | PURPOSE "Required for tests" | ||
19 | TYPE OPTIONAL | 19 | TYPE OPTIONAL | ||
20 | ) | 20 | ) | ||
▲ Show 20 Lines • Show All 135 Lines • ▼ Show 20 Line(s) | |||||
156 | add_subdirectory( recentdocuments ) | 156 | add_subdirectory( recentdocuments ) | ||
157 | if (NOT WIN32) | 157 | if (NOT WIN32) | ||
158 | # does not compile: fish.cpp(41): fatal error C1083: Cannot open include file: 'sys/resource.h': No such file or directory | 158 | # does not compile: fish.cpp(41): fatal error C1083: Cannot open include file: 'sys/resource.h': No such file or directory | ||
159 | # Used for getting the resource limit for closing all child process FDs. Could be completely replaced by fcloseall() if available for Unix or _fcloseall() for Windows, either conditionally on Q_OS_type or using a configure test. | 159 | # Used for getting the resource limit for closing all child process FDs. Could be completely replaced by fcloseall() if available for Unix or _fcloseall() for Windows, either conditionally on Q_OS_type or using a configure test. | ||
160 | add_subdirectory( fish ) | 160 | add_subdirectory( fish ) | ||
161 | endif() | 161 | endif() | ||
162 | add_subdirectory( thumbnail ) | 162 | add_subdirectory( thumbnail ) | ||
163 | add_subdirectory( docfilter ) | 163 | add_subdirectory( docfilter ) | ||
164 | if (libssh_FOUND AND HAVE_UTIME_H) | 164 | if (libssh_FOUND) | ||
165 | # does not compile on Windows: kio_sftp.cpp(28): fatal error C1083: Cannot open include file: 'utime.h': No such file or directory | | |||
166 | add_subdirectory(sftp) | 165 | add_subdirectory(sftp) | ||
167 | endif () | 166 | endif () | ||
168 | add_subdirectory(settings) | 167 | add_subdirectory(settings) | ||
169 | add_subdirectory( filenamesearch ) | 168 | add_subdirectory( filenamesearch ) | ||
170 | if (MTP_FOUND) | 169 | if (MTP_FOUND) | ||
171 | add_subdirectory(mtp) | 170 | add_subdirectory(mtp) | ||
172 | endif() | 171 | endif() | ||
173 | 172 | | |||
Show All 31 Lines |
What requires this bump?