summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4a87c05..682132b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -97,3 +97,12 @@ add_executable(assignment-list
set_target_properties(assignment-list PROPERTIES WIN32_EXECUTABLE ON)
target_link_libraries(assignment-list ${qt_libraries})
+
+# Installation
+install(TARGETS assignment-list)
+
+# TODO make conditional only for linux
+# install desktop entry and icon
+configure_file(data/assignment-list.desktop.in ${CMAKE_CURRENT_SOURCE_DIR}/data/assignment-list.desktop @ONLY)
+install(FILES data/assignment-list.desktop DESTINATION share/applications)
+install(FILES data/assignment-list.svg DESTINATION share/pixmaps)