Pass version information to AndroidManifest

Fixes #463
This commit is contained in:
Nicolas Fella
2021-10-24 22:49:33 +02:00
parent f2cf82ee8e
commit b6341eebfe
4 changed files with 108 additions and 2 deletions

View File

@@ -114,6 +114,10 @@ find_package(QCoro REQUIRED)
qcoro_enable_coroutines()
if(ANDROID)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/android/version.gradle.in ${CMAKE_BINARY_DIR}/version.gradle)
endif()
install(FILES org.kde.neochat.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES org.kde.neochat.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
install(FILES org.kde.neochat.svg DESTINATION ${KDE_INSTALL_FULL_ICONDIR}/hicolor/scalable/apps)