Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show All 39 Lines | 18 | set ( | |||
---|---|---|---|---|---|
40 | widgets/colorwidget.cpp | 40 | widgets/colorwidget.cpp | ||
41 | widgets/multipagewidget.cpp | 41 | widgets/multipagewidget.cpp | ||
42 | widgets/kcoloreditwidget.cpp | 42 | widgets/kcoloreditwidget.cpp | ||
43 | dialog/palettedialog.cpp | 43 | dialog/palettedialog.cpp | ||
44 | app/kcoloredit.cpp | 44 | app/kcoloredit.cpp | ||
45 | app/main.cpp | 45 | app/main.cpp | ||
46 | ) | 46 | ) | ||
47 | 47 | | |||
48 | kde4_add_ui_files ( | 48 | ki18n_wrap_ui( | ||
49 | kcoloredit_SRCS | 49 | kcoloredit_SRCS | ||
50 | 50 | | |||
51 | widgets/colorselectors/builderselector/builderwidget.ui | 51 | widgets/colorselectors/builderselector/builderwidget.ui | ||
52 | settings/builderconfiguration.ui | 52 | settings/builderconfiguration.ui | ||
53 | ) | 53 | ) | ||
54 | 54 | | |||
55 | kde4_add_kcfg_files ( kcoloredit_SRCS settings/kcoloredit_settings.kcfgc) | 55 | set(kcoloredit_LIBS | ||
56 | Qt5::Core | ||||
57 | Qt5::Gui | ||||
58 | Qt5::Widgets | ||||
59 | KF5::I18n | ||||
60 | KF5::ConfigCore | ||||
61 | KF5::CoreAddons | ||||
62 | KF5::KDELibs4Support | ||||
63 | ) | ||||
64 | | ||||
65 | kconfig_add_kcfg_files ( kcoloredit_SRCS settings/kcoloredit_settings.kcfgc) | ||||
56 | 66 | | |||
57 | kde4_add_executable ( kcoloredit ${kcoloredit_SRCS} ) | 67 | add_executable ( kcoloredit ${kcoloredit_SRCS} ) | ||
58 | 68 | | |||
59 | target_link_libraries ( kcoloredit ${KDE4_KFILE_LIBS} ${X11_LIBRARIES}) | 69 | target_link_libraries ( kcoloredit ${kcoloredit_LIBS}) | ||
60 | 70 | | |||
61 | install (TARGETS kcoloredit ${INSTALL_TARGETS_DEFAULT_ARGS} ) | 71 | install (TARGETS kcoloredit DESTINATION ${KDE_INSTALL_BINDIR} ) |