minecraft-pi-docker/dependencies/CMakeLists.txt

27 lines
625 B
CMake
Raw Normal View History

2021-06-17 21:32:24 +00:00
project(dependencies)
# ZLib
2022-03-10 02:23:41 +00:00
if(BUILD_ARM_COMPONENTS)
add_subdirectory(zlib)
endif()
2021-06-17 21:32:24 +00:00
# LibPNG
2022-03-10 02:23:41 +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-11 02:05:11 +00:00
# GLFW
if(BUILD_NATIVE_COMPONENTS AND NOT MCPI_HEADLESS_MODE)
add_subdirectory(glfw)
endif()
2022-03-12 01:02:38 +00:00
# Zenity (Minimal Build)
if(BUILD_NATIVE_COMPONENTS AND NOT MCPI_HEADLESS_MODE)
2022-03-11 05:00:13 +00:00
add_subdirectory(zenity)
endif()
2022-05-03 02:44:10 +00:00
# Sysroot
if(BUILD_NATIVE_COMPONENTS AND NOT CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")
add_subdirectory(armhf-sysroot)
endif()