diff options
author | Richard Hughes <richard@hughsie.com> | 2016-10-06 17:07:25 +0300 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-10-08 12:01:35 +0300 |
commit | 6c81c9a73581d1902d1557f78078ab7b136bfa40 (patch) | |
tree | 9cf7a85b341a086319c0d01ebfb2afca37c349f7 /CMakeLists.txt | |
parent | 2aa3e1e931815c2e3562b295a46b68521f4f4860 (diff) |
Add an example AppData file so that Cura is visible in Linux software centers
Fixes: https://github.com/Ultimaker/Cura/issues/530
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 265e471dd2..99c18b302c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,6 +43,8 @@ if(NOT APPLE AND NOT WIN32) DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages/cura) install(FILES ${CMAKE_BINARY_DIR}/cura.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications) + install(FILES ${CMAKE_BINARY_DIR}/cura.appdata.xml + DESTINATION ${CMAKE_INSTALL_DATADIR}/appdata) install(FILES cura.sharedmimeinfo DESTINATION ${CMAKE_INSTALL_DATADIR}/mime/packages/ RENAME cura.xml ) |