minecraft-pi-reborn/images/CMakeLists.txt

41 lines
801 B
CMake
Raw Normal View History

2022-04-22 23:38:15 +00:00
project(images)
2024-09-22 23:28:51 +00:00
# Logo
install(
FILES "modern_logo.png"
DESTINATION "${MCPI_INSTALL_DIR}/data/images/gui"
)
2022-04-22 23:38:15 +00:00
# Title Background
2024-06-15 12:52:15 +00:00
install(
FILES "background.png"
DESTINATION "${MCPI_INSTALL_DIR}/data/images/gui"
RENAME "titleBG.png"
)
2022-06-10 01:31:40 +00:00
2023-11-24 04:54:36 +00:00
# Chest Model
2024-06-15 12:52:15 +00:00
install(
FILES "chest.png"
DESTINATION "${MCPI_INSTALL_DIR}/data/images/item"
)
2023-11-24 04:54:36 +00:00
2024-10-04 00:29:24 +00:00
# Entity Shadow
install(
FILES "shadow.png"
DESTINATION "${MCPI_INSTALL_DIR}/data/images/misc"
)
2022-06-10 01:31:40 +00:00
# Icon
2024-09-23 01:21:53 +00:00
set(ICON_DIR "${MCPI_SHARE_DIR}/icons/hicolor/512x512/apps")
2022-06-10 01:31:40 +00:00
install(
FILES "icon.png"
2024-06-18 00:10:03 +00:00
DESTINATION "${ICON_DIR}"
2022-06-10 01:31:40 +00:00
RENAME "${MCPI_APP_ID}.png"
)
# AppImage
if(MCPI_IS_APPIMAGE_BUILD)
2024-06-18 00:10:03 +00:00
install_symlink("${ICON_DIR}/${MCPI_APP_ID}.png" "${MCPI_APP_ID}.png")
install_symlink("${MCPI_APP_ID}.png" ".DirIcon")
endif()