Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
27 lines
718 B
CMake
27 lines
718 B
CMake
find_package(Qt5Concurrent REQUIRED)
|
|
|
|
set(QUICKPHRASE_EDITOR_SRCS
|
|
main.cpp
|
|
model.cpp
|
|
editor.cpp
|
|
editordialog.cpp
|
|
batchdialog.cpp
|
|
filelistmodel.cpp
|
|
)
|
|
|
|
add_library(fcitx-quickphrase-editor5-qt5
|
|
MODULE ${QUICKPHRASE_EDITOR_SRCS})
|
|
set_target_properties(fcitx-quickphrase-editor5-qt5 PROPERTIES
|
|
OUTPUT_NAME fcitx-quickphrase-editor5
|
|
AUTOMOC TRUE AUTOUIC TRUE AUTOUIC_OPTIONS "-tr=fcitx::tr2fcitx;--include=fcitxqti18nhelper.h"
|
|
)
|
|
target_link_libraries(fcitx-quickphrase-editor5-qt5
|
|
Fcitx5::Utils
|
|
Qt5::Core
|
|
Qt5::Gui
|
|
Qt5::Concurrent
|
|
Fcitx5Qt5::WidgetsAddons
|
|
)
|
|
|
|
install(TARGETS fcitx-quickphrase-editor5-qt5 DESTINATION ${CMAKE_INSTALL_LIBDIR}/fcitx5/qt5)
|