minecraft-pi-reborn/dependencies/runtime/CMakeLists.txt

18 lines
382 B
CMake
Raw Normal View History

2024-06-08 20:30:39 +00:00
project(runtime)
## Extra Runtime
# QEMU
2024-08-02 05:03:20 +00:00
set(QEMU_VERSION "9.0.2")
2024-06-08 20:30:39 +00:00
set(RUNTIME_QEMU_ARCHIVE "${CMAKE_CURRENT_SOURCE_DIR}/../../archives/qemu-${QEMU_VERSION}.tar.xz")
if(NOT BUILD_NATIVE_COMPONENTS)
set(TRAMPOLINE_HEADERS_ONLY TRUE)
endif()
# Build
add_subdirectory(src)
# Install
2024-06-08 22:00:30 +00:00
if(COMMAND install_runtime)
install_runtime("${MCPI_BIN_DIR}" "${MCPI_LEGAL_DIR}")
endif()