minecraft-pi-reborn/dependencies/CMakeLists.txt

23 lines
650 B
CMake
Raw Permalink Normal View History

2021-06-17 21:32:24 +00:00
project(dependencies)
# LibPNG
2022-07-13 20:46:33 +00:00
if(BUILD_ARM_COMPONENTS)
add_subdirectory(libpng)
endif()
2021-06-17 21:32:24 +00:00
# Minecraft: Pi Edition
2022-03-10 02:23:41 +00:00
if(BUILD_ARM_COMPONENTS AND NOT MCPI_OPEN_SOURCE_ONLY)
2021-12-19 21:09:16 +00:00
add_subdirectory(minecraft-pi)
endif()
2022-03-12 01:02:38 +00:00
# Zenity (Minimal Build)
if(BUILD_NATIVE_COMPONENTS AND NOT MCPI_SERVER_MODE)
2022-03-11 05:00:13 +00:00
add_subdirectory(zenity)
endif()
2022-09-25 19:47:36 +00:00
# LIEF
if(BUILD_NATIVE_COMPONENTS OR (BUILD_ARM_COMPONENTS AND NOT MCPI_SERVER_MODE AND NOT MCPI_USE_MEDIA_LAYER_PROXY))
add_subdirectory(LIEF)
endif()
2022-09-27 00:59:46 +00:00
# QEMU
if(BUILD_NATIVE_COMPONENTS AND NOT (CMAKE_SYSTEM_PROCESSOR MATCHES "arm*" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64"))
add_subdirectory(qemu)
endif()