minecraft-pi-reborn/images/CMakeLists.txt

24 lines
527 B
CMake
Raw Normal View History

2022-04-22 23:38:15 +00:00
project(images)
# Title Background
if(NOT MCPI_SERVER_MODE)
install(
FILES "background.png"
DESTINATION "${MCPI_INSTALL_DIR}/data/images/gui"
RENAME "titleBG.png"
)
endif()
2022-06-10 01:31:40 +00:00
# Icon
install(
FILES "icon.png"
DESTINATION "share/icons/hicolor/scalable/apps"
RENAME "${MCPI_APP_ID}.png"
)
# AppImage
if(MCPI_IS_APPIMAGE_BUILD)
install_symlink("share/icons/hicolor/scalable/apps/${MCPI_APP_ID}.png" "${MCPI_APP_ID}.png")
install_symlink("${MCPI_APP_ID}.png" ".DirIcon")
endif()