share/CMakeLists.txt
changeset 10069 c4ad9c76b542
parent 10068 cbe06dc07332
child 15317 5b2dec63f4cf
--- a/share/CMakeLists.txt	Fri Jan 24 10:56:22 2014 +0100
+++ b/share/CMakeLists.txt	Fri Jan 24 11:11:39 2014 +0100
@@ -23,4 +23,7 @@
             DESTINATION ../Resources/)
     install(PROGRAMS "${CMAKE_CURRENT_SOURCE_DIR}/dsa_pub.pem"
             DESTINATION ../Resources/)
-endif(APPLE)
+elseif(UNIX)
+    install(PROGRAMS "${CMAKE_CURRENT_SOURCE_DIR}/hedgewars.appdata.xml"
+            DESTINATION ${CMAKE_INSTALL_PREFIX}/share/appdata/)
+endif()