summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b0fe285db..dc525aa3d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -193,3 +193,16 @@ if(ENABLE_QT)
193 add_subdirectory(externals/qhexedit) 193 add_subdirectory(externals/qhexedit)
194endif() 194endif()
195add_subdirectory(src) 195add_subdirectory(src)
196
197# Install freedesktop.org metadata files, following those specifications:
198# http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
199# http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
200# http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html
201if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD")
202 install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.desktop"
203 DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications")
204 install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.svg"
205 DESTINATION "${CMAKE_INSTALL_PREFIX}/share/pixmaps")
206 install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.xml"
207 DESTINATION "${CMAKE_INSTALL_PREFIX}/share/mime/packages")
208endif()