Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Line(s) | |||||
59 | 59 | | |||
60 | install(FILES | 60 | install(FILES | ||
61 | ${KI18n_HEADERS} | 61 | ${KI18n_HEADERS} | ||
62 | ${CMAKE_CURRENT_BINARY_DIR}/ki18n_export.h | 62 | ${CMAKE_CURRENT_BINARY_DIR}/ki18n_export.h | ||
63 | DESTINATION "${KDE_INSTALL_INCLUDEDIR_KF5}/KI18n" COMPONENT Devel | 63 | DESTINATION "${KDE_INSTALL_INCLUDEDIR_KF5}/KI18n" COMPONENT Devel | ||
64 | ) | 64 | ) | ||
65 | 65 | | |||
66 | ### ktranscript plugin | 66 | ### ktranscript plugin | ||
67 | if (BUILD_WITH_QTSCRIPT) | 67 | if (BUILD_WITH_QML) | ||
68 | 68 | | |||
69 | set(ktranscript_LIB_SRCS | 69 | set(ktranscript_LIB_SRCS | ||
70 | ktranscript.cpp | 70 | ktranscript.cpp | ||
71 | common_helpers.cpp | 71 | common_helpers.cpp | ||
72 | ) | 72 | ) | ||
73 | add_library(ktranscript MODULE ${ktranscript_LIB_SRCS}) | 73 | add_library(ktranscript MODULE ${ktranscript_LIB_SRCS}) | ||
74 | generate_export_header(ktranscript BASE_NAME KTranscript) | 74 | generate_export_header(ktranscript BASE_NAME KTranscript) | ||
75 | target_link_libraries(ktranscript PRIVATE Qt5::Script Qt5::Core) | 75 | target_link_libraries(ktranscript PRIVATE Qt5::Qml Qt5::Core) | ||
76 | 76 | | |||
77 | install(TARGETS ktranscript DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5) | 77 | install(TARGETS ktranscript DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5) | ||
78 | 78 | | |||
79 | endif() | 79 | endif() | ||
80 | 80 | | |||
81 | if (BUILD_QCH) | 81 | if (BUILD_QCH) | ||
82 | ecm_add_qch( | 82 | ecm_add_qch( | ||
83 | KF5I18n_QCH | 83 | KF5I18n_QCH | ||
Show All 24 Lines |