Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 20 Lines | |||||
21 | include(FeatureSummary) | 21 | include(FeatureSummary) | ||
22 | 22 | | |||
23 | kde_enable_exceptions() | 23 | kde_enable_exceptions() | ||
24 | 24 | | |||
25 | find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Widgets Test DBus Concurrent) | 25 | find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Widgets Test DBus Concurrent) | ||
26 | 26 | | |||
27 | find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS I18n CoreAddons Service | 27 | find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS I18n CoreAddons Service | ||
28 | ConfigWidgets JobWidgets KIO Crash Completion WidgetsAddons Wallet | 28 | ConfigWidgets JobWidgets KIO Crash Completion WidgetsAddons Wallet | ||
29 | Notifications IdleTime) | 29 | Notifications IdleTime WindowSystem) | ||
30 | if(APPLE) | | |||
apol: Do we know why this was done? | |||||
I don't know but I just moved the find_package WindowSystem out of the if because now it would be needed unconditionally. davidre: I don't know but I just moved the find_package WindowSystem out of the if because now it would… | |||||
on osx the dialog is doing forceActiveWindow, not sure why only on osx though sitter: on osx the dialog is doing forceActiveWindow, not sure why only on osx though | |||||
31 | find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS WindowSystem) | | |||
32 | endif() | | |||
33 | find_package(Qt5X11Extras ${QT_MIN_VERSION} CONFIG) | 30 | find_package(Qt5X11Extras ${QT_MIN_VERSION} CONFIG) | ||
34 | set_package_properties(Qt5X11Extras PROPERTIES TYPE RECOMMENDED PURPOSE "Recommended for better integration on X11.") | 31 | set_package_properties(Qt5X11Extras PROPERTIES TYPE RECOMMENDED PURPOSE "Recommended for better integration on X11.") | ||
35 | 32 | | |||
36 | if (MINGW) | 33 | if (MINGW) | ||
37 | find_package(ZLIB REQUIRED) | 34 | find_package(ZLIB REQUIRED) | ||
38 | find_library(INTL_LIBRARY NAMES intl) | 35 | find_library(INTL_LIBRARY NAMES intl) | ||
39 | find_library(IBERTY_LIBRARY NAMES iberty) | 36 | find_library(IBERTY_LIBRARY NAMES iberty) | ||
40 | find_library(BFD_LIBRARY NAMES bfd) | 37 | find_library(BFD_LIBRARY NAMES bfd) | ||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |
Do we know why this was done?