CMakeLists.txt 356 Bytes
Newer Older
Nicolas Fella's avatar
Nicolas Fella committed
1 2
qt5_add_resources(ktrip_SRCS resources.qrc)
add_executable(ktrip main.cpp querycontroller.cpp locationquerymodel.cpp ${ktrip_SRCS})
Nicolas Fella's avatar
Nicolas Fella committed
3
target_link_libraries(ktrip Qt5::Qml Qt5::Gui KPublicTransport)
Nicolas Fella's avatar
Nicolas Fella committed
4

Nicolas Fella's avatar
Nicolas Fella committed
5 6 7 8 9
install(TARGETS ktrip ${INSTALL_TARGETS_DEFAULT_ARGS})

if (NOT ANDROID)
    install(PROGRAMS org.kde.ktrip.desktop DESTINATION ${KDE_INSTALL_APPDIR})
endif()