mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
25ae6d091a
commit
ebe6326cdd
|
@ -44,5 +44,10 @@ else()
|
||||||
install(FILES ${path_from} DESTINATION ${path_to})
|
install(FILES ${path_from} DESTINATION ${path_to})
|
||||||
endforeach(size)
|
endforeach(size)
|
||||||
|
|
||||||
install(FILES "img/icons/qtox.svg" DESTINATION "share/icons/hicolor/scalable/apps")
|
set(SVG_SRC "${CMAKE_SOURCE_DIR}/img/icons/qtox.svg")
|
||||||
|
set(SVG_GZIP "${CMAKE_BINARY_DIR}/qtox.svgz")
|
||||||
|
install(CODE "
|
||||||
|
execute_process(COMMAND gzip -Sz INPUT_FILE ${SVG_SRC} OUTPUT_FILE ${SVG_GZIP})
|
||||||
|
" COMPONENT Runtime)
|
||||||
|
install(FILES "${SVG_GZIP}" DESTINATION "share/icons/hicolor/scalable/apps")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user