Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 168 Lines • ▼ Show 20 Line(s) | 168 | find_package(KF5 ${AKONADI_MIN_VERSION} QUIET | |||
---|---|---|---|---|---|
169 | OPTIONAL_COMPONENTS | 169 | OPTIONAL_COMPONENTS | ||
170 | AkonadiContact # For KDE Mail Contacts support. | 170 | AkonadiContact # For KDE Mail Contacts support. | ||
171 | ) | 171 | ) | ||
172 | 172 | | |||
173 | find_package(KF5 ${CALENDAR_MIN_VERSION} QUIET | 173 | find_package(KF5 ${CALENDAR_MIN_VERSION} QUIET | ||
174 | OPTIONAL_COMPONENTS | 174 | OPTIONAL_COMPONENTS | ||
175 | CalendarCore # For Calendar tool. | 175 | CalendarCore # For Calendar tool. | ||
176 | ) | 176 | ) | ||
177 | if ("${KF5CalendarCore_VERSION}" VERSION_GREATER 5.6.40) | ||||
178 | set(HAVE_KCALENDAR_QDATETIME TRUE) | ||||
179 | endif() | ||||
177 | 180 | | |||
178 | if(ENABLE_AKONADICONTACTSUPPORT AND NOT KF5AkonadiContact_FOUND) | 181 | if(ENABLE_AKONADICONTACTSUPPORT AND NOT KF5AkonadiContact_FOUND) | ||
179 | set(ENABLE_KFILEMETADATASUPPORT OFF) | 182 | set(ENABLE_KFILEMETADATASUPPORT OFF) | ||
180 | endif() | 183 | endif() | ||
181 | 184 | | |||
182 | if(ENABLE_KFILEMETADATASUPPORT AND NOT KF5FileMetaData_FOUND) | 185 | if(ENABLE_KFILEMETADATASUPPORT AND NOT KF5FileMetaData_FOUND) | ||
183 | set(ENABLE_KFILEMETADATASUPPORT OFF) | 186 | set(ENABLE_KFILEMETADATASUPPORT OFF) | ||
184 | endif() | 187 | endif() | ||
▲ Show 20 Lines • Show All 452 Lines • Show Last 20 Lines |