TheBrokenRail 38d7dda1a7
Some checks failed
CI / Build (AMD64) (push) Successful in 17m8s
CI / Build (ARM64) (push) Successful in 17m45s
CI / Build (ARMHF) (push) Successful in 11m24s
CI / Test (ARM64, Client) (push) Failing after 2m9s
CI / Test (AMD64, Client) (push) Failing after 2m44s
CI / Test (AMD64, Server) (push) Successful in 3m53s
CI / Test (ARM64, Server) (push) Successful in 2m17s
CI / Build Example Mods (push) Failing after 2m31s
CI / Test (ARMHF, Client) (push) Failing after 1m58s
CI / Test (ARMHF, Server) (push) Failing after 1m55s
CI / Release (push) Has been skipped
The Great Unification
2024-06-15 08:52:15 -04:00

22 lines
456 B
CMake

project(minecraft-pi)
include(FetchContent)
## Minecraft: Pi Edition
# Download
FetchContent_Declare(
minecraft-pi
URL "${CMAKE_CURRENT_SOURCE_DIR}/minecraft-pi-0.1.1.tar.gz"
)
FetchContent_Populate(minecraft-pi)
# Install
install(
DIRECTORY "${minecraft-pi_SOURCE_DIR}/"
DESTINATION "${MCPI_INSTALL_DIR}/game"
USE_SOURCE_PERMISSIONS
REGEX "api" EXCLUDE
)
install_symlink("game/minecraft-pi" "${MCPI_INSTALL_DIR}/minecraft-pi")