1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(install): Fix gzip invalid usage

This commit is contained in:
anthony.bilinski 2017-11-30 11:15:04 -08:00
parent af11665c2c
commit 266f63f6df

View File

@ -47,7 +47,7 @@ else()
set(SVG_SRC "${CMAKE_SOURCE_DIR}/img/icons/qtox.svg") set(SVG_SRC "${CMAKE_SOURCE_DIR}/img/icons/qtox.svg")
set(SVG_GZIP "${CMAKE_BINARY_DIR}/qtox.svgz") set(SVG_GZIP "${CMAKE_BINARY_DIR}/qtox.svgz")
install(CODE " install(CODE "
execute_process(COMMAND gzip -Sz INPUT_FILE ${SVG_SRC} OUTPUT_FILE ${SVG_GZIP}) execute_process(COMMAND gzip -S z INPUT_FILE ${SVG_SRC} OUTPUT_FILE ${SVG_GZIP})
" COMPONENT Runtime) " COMPONENT Runtime)
install(FILES "${SVG_GZIP}" DESTINATION "share/icons/hicolor/scalable/apps") install(FILES "${SVG_GZIP}" DESTINATION "share/icons/hicolor/scalable/apps")
endif() endif()