CMakeLists.txt 386 Bytes
Newer Older
1 2 3 4 5 6
set(ktrip_SRCS
    main.cpp
    querycontroller.cpp
    locationquerymodel.cpp
)

Nicolas Fella's avatar
Nicolas Fella committed
7
qt5_add_resources(ktrip_SRCS resources.qrc)
8
add_executable(ktrip ${ktrip_SRCS})
Nicolas Fella's avatar
Nicolas Fella committed
9
target_link_libraries(ktrip Qt5::Qml Qt5::Gui KPublicTransport)
Nicolas Fella's avatar
Nicolas Fella committed
10

Nicolas Fella's avatar
Nicolas Fella committed
11 12 13 14 15
install(TARGETS ktrip ${INSTALL_TARGETS_DEFAULT_ARGS})

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