Changeset View
Changeset View
Standalone View
Standalone View
tools/onlinequoteseditor/CMakeLists.txt
Show All 16 Lines | |||||
17 | ) | 17 | ) | ||
18 | 18 | | |||
19 | ki18n_wrap_ui(SOURCES ${UI} ) | 19 | ki18n_wrap_ui(SOURCES ${UI} ) | ||
20 | 20 | | |||
21 | #kde4_add_app_icon(SOURCES "${KDE4_INSTALL_DIR}/share/icons/oxygen/*/actions/application-exit.png") | 21 | #kde4_add_app_icon(SOURCES "${KDE4_INSTALL_DIR}/share/icons/oxygen/*/actions/application-exit.png") | ||
22 | 22 | | |||
23 | ecm_add_executable(onlinequoteseditor ${SOURCES} ${HEADERS}) | 23 | ecm_add_executable(onlinequoteseditor ${SOURCES} ${HEADERS}) | ||
24 | if(BUILD_QT4) | 24 | if(BUILD_QT4) | ||
25 | set(LIBS ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS} ${QT_USE_LIBSPREFIX}Core ${QT_USE_LIBSPREFIX}Network ${QT_USE_LIBSPREFIX}WebKit) | 25 | set(LIBS | ||
26 | ${KDE4_KDECORE_LIBS} | ||||
27 | ${KDE4_KDEUI_LIBS} | ||||
28 | ${QT_USE_LIBSPREFIX}Core | ||||
29 | ${QT_USE_LIBSPREFIX}Network | ||||
30 | ${QT_USE_LIBSPREFIX}WebKit | ||||
31 | ) | ||||
26 | else() | 32 | else() | ||
27 | set(LIBS Qt5::Widgets Qt5::WebKitWidgets KF5::KDELibs4Support) | 33 | set(LIBS | ||
34 | Qt5::Widgets | ||||
35 | Qt5::WebKitWidgets | ||||
36 | KF5::CoreAddons | ||||
37 | KF5::I18n | ||||
38 | ) | ||||
39 | add_definitions(-DTRANSLATION_DOMAIN=\"onlinequoteseditor\") | ||||
28 | endif() | 40 | endif() | ||
29 | 41 | | |||
30 | target_link_libraries(onlinequoteseditor | 42 | target_link_libraries(onlinequoteseditor | ||
31 | alkimia | 43 | alkimia | ||
32 | alkimia-internal | 44 | alkimia-internal | ||
33 | ${LIBS} | 45 | ${LIBS} | ||
34 | ) | 46 | ) | ||
35 | 47 | | |||
36 | install(TARGETS onlinequoteseditor ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | 48 | install(TARGETS onlinequoteseditor ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) |