Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 32 Lines | |||||
33 | include(FeatureSummary) | 33 | include(FeatureSummary) | ||
34 | 34 | | |||
35 | # forbid some old things | 35 | # forbid some old things | ||
36 | add_definitions(-DQT_NO_FOREACH) | 36 | add_definitions(-DQT_NO_FOREACH) | ||
37 | 37 | | |||
38 | # Required here so that the version comparison below works | 38 | # Required here so that the version comparison below works | ||
39 | find_package(Qt5Widgets ${QT_MIN_VERSION} CONFIG REQUIRED) | 39 | find_package(Qt5Widgets ${QT_MIN_VERSION} CONFIG REQUIRED) | ||
40 | 40 | | |||
41 | # Required here so that the ki18n_install/kdoctools_install calls injected by | ||||
42 | # the release scripts work. | ||||
43 | find_package(KF5I18n ${KF5_REQUIRED_VERSION} | ||||
arojas: This doesn't look quite right... did you mean KF5? | |||||
Indeed. Sorry and thanks for pointing this out. Corrected with f177bd36372fd06daccd8547869aed3651d43873 heikobecker: Indeed. Sorry and thanks for pointing this out. Corrected with… | |||||
44 | REQUIRED COMPONENTS | ||||
45 | I18n | ||||
46 | OPTIONAL_COMPONENTS | ||||
47 | DocTools | ||||
48 | ) | ||||
49 | | ||||
41 | # Qt 5.13 deprecated QComboBox::currentIndexChanged(QString) and Qt 5.14 undid that... | 50 | # Qt 5.13 deprecated QComboBox::currentIndexChanged(QString) and Qt 5.14 undid that... | ||
42 | if (Qt5Widgets_VERSION VERSION_GREATER_EQUAL 5.14.0) | 51 | if (Qt5Widgets_VERSION VERSION_GREATER_EQUAL 5.14.0) | ||
43 | add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) | 52 | add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) | ||
44 | endif() | 53 | endif() | ||
45 | 54 | | |||
46 | ecm_optional_add_subdirectory(addons) | 55 | ecm_optional_add_subdirectory(addons) | ||
47 | ecm_optional_add_subdirectory(kwrite) | 56 | ecm_optional_add_subdirectory(kwrite) | ||
48 | ecm_optional_add_subdirectory(kate) | 57 | ecm_optional_add_subdirectory(kate) | ||
Show All 12 Lines |
This doesn't look quite right... did you mean KF5?