Skip to content

Commit

Permalink
Attempt at CMake file for icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
boombatower committed Nov 3, 2014
1 parent 4c1f73a commit aa114b3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions assets/CMakeLists.txt
@@ -0,0 +1,9 @@
message("Cropping gaben.png to create placeholder icon...")

execute_process(convert -crop 512x512+92+137 gaben.png "${CMAKE_BINARY_DIR}/assets/dist/openage.png")

install(FILES ${GLOBAL_ASSET_DIR}/dist/openage.desktop
DESTINATION ${CMAKE_INSTALL_PREFIX}/usr/share/applications)

install(FILES ${CMAKE_BINARY_DIR}/assets/dist/openage.png
DESTINATION ${CMAKE_INSTALL_PREFIX}/usr/share/pixmaps)
Binary file removed assets/dist/openage.png
Binary file not shown.

0 comments on commit aa114b3

Please sign in to comment.