Add flatpak manifest and CI action

This commit is contained in:
Guillaume Meunier
2024-08-13 14:27:52 +02:00
parent 77b7e53ea5
commit a1889d2bf4
5 changed files with 277 additions and 3 deletions
@@ -0,0 +1,19 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5956a67..3f0fda1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -528,3 +528,11 @@ set_target_properties(OCOVR PROPERTIES
get_target_property(output_dir OCOVR LIBRARY_OUTPUT_DIRECTORY)
add_custom_command(TARGET OCOVR
PRE_LINK COMMAND ${CMAKE_COMMAND} -E make_directory ${output_dir})
+
+# Installation
+include(GNUInstallDirs)
+install(TARGETS OCOVR
+ LIBRARY
+ DESTINATION "${PROJECT_NAME}/${VRCLIENT_DIR}"
+ COMPONENT Runtime
+)
--
2.45.2