From d8d0ae46ba4964d67798abfa5b4cc5386eb36f41 Mon Sep 17 00:00:00 2001 From: fryshorts Date: Sat, 2 Aug 2014 16:12:53 +0200 Subject: [PATCH] Install desktop file and application icon on linux --- obs/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/obs/CMakeLists.txt b/obs/CMakeLists.txt index efbbd2983..40c7e472a 100644 --- a/obs/CMakeLists.txt +++ b/obs/CMakeLists.txt @@ -129,3 +129,9 @@ target_link_libraries(obs install_obs_core(obs) install_obs_data(obs data obs-studio) + +if (UNIX AND UNIX_STRUCTURE AND NOT APPLE) + install(FILES dist/obs.desktop DESTINATION share/applications) + install(FILES forms/images/obs.png + DESTINATION share/icons/hicolor/256x256/apps) +endif()