minecraft-pi-reborn/images/CMakeLists.txt

32 lines
707 B
CMake
Raw Normal View History

2022-04-22 19:38:15 -04:00
project(images)
# Title Background
if(NOT MCPI_HEADLESS_MODE)
2022-04-22 19:38:15 -04:00
install(
FILES "background.png"
DESTINATION "${MCPI_INSTALL_DIR}/data/images/gui"
RENAME "titleBG.png"
)
endif()
2022-06-09 21:31:40 -04:00
2023-11-23 23:54:36 -05:00
# Chest Model
if(NOT MCPI_HEADLESS_MODE)
install(
FILES "chest.png"
DESTINATION "${MCPI_INSTALL_DIR}/data/images/item"
)
endif()
2022-06-09 21:31:40 -04:00
# Icon
install(
FILES "icon.png"
2022-07-07 00:37:53 -04:00
DESTINATION "${MCPI_SHARE_DIR}/icons/hicolor/scalable/apps"
2022-06-09 21:31:40 -04:00
RENAME "${MCPI_APP_ID}.png"
)
# AppImage
if(MCPI_IS_APPIMAGE_BUILD)
2022-07-07 00:37:53 -04:00
install_symlink("${MCPI_SHARE_DIR}/icons/hicolor/scalable/apps/${MCPI_APP_ID}.png" "${MCPI_APP_ID}.png")
install_symlink("${MCPI_APP_ID}.png" ".DirIcon")
endif()