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

Merge pull request #4847

anthony.bilinski (1):
      fix(install): Fix gzip invalid usage
This commit is contained in:
sudden6 2017-12-02 11:27:51 +01:00
commit a3a361b0eb
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

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()