Author: Pino Toscano <toscano.pino@tiscali.it>
Description: Install marble-maps
 Install marble-maps again after the upstream refactoring targeted at Android
 (commit 1e87366b30d554ee54acd266ad0524b1f4d95e2a).
Forwarded: no
Last-Update: 2020-04-26

--- a/src/apps/marble-maps/CMakeLists.txt
+++ b/src/apps/marble-maps/CMakeLists.txt
@@ -42,3 +42,10 @@ target_link_libraries (
 
 FILE(GLOB QML_FILES *.qml)
 add_custom_target(marble-maps_resources ALL SOURCES ${QML_FILES} package/AndroidManifest.xml)
+
+if (NOT ANDROID)
+    if(APPS_INSTALL_DIR)
+        install(PROGRAMS org.kde.marble.maps.desktop DESTINATION ${APPS_INSTALL_DIR})
+    endif(APPS_INSTALL_DIR)
+    install(TARGETS marble-maps RUNTIME DESTINATION bin)
+endif()
