]> sigrok.org Git - pulseview.git/commitdiff
CMakeLists.txt: Install the PulseView icons.
authorUwe Hermann <redacted>
Sun, 11 Jun 2017 18:38:10 +0000 (20:38 +0200)
committerUwe Hermann <redacted>
Sun, 11 Jun 2017 18:49:35 +0000 (20:49 +0200)
CMakeLists.txt

index db839d085be0513f1f41138b4672c7cfd81d7f90..af39c89e19f8b9f9f5e251426d3b10bb8ba9d01b 100644 (file)
@@ -471,6 +471,10 @@ install(FILES contrib/org.sigrok.PulseView.desktop DESTINATION ${CMAKE_INSTALL_D
 # Install the AppData/AppStream file.
 install(FILES contrib/org.sigrok.PulseView.appdata.xml DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/metainfo)
 
+# Install the PulseView icons.
+install(FILES icons/pulseview.png DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/48x48/apps)
+install(FILES icons/pulseview.svg DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps)
+
 # Generate Windows installer script.
 configure_file(contrib/pulseview_cross.nsi.in contrib/pulseview_cross.nsi @ONLY)