minecraft-pi-reborn/dependencies/CMakeLists.txt

23 lines
551 B
CMake
Raw Normal View History

2021-06-17 21:32:24 +00:00
project(dependencies)
2022-06-14 00:49:09 +00:00
# ZLib (Needed By libpng)
add_subdirectory(zlib)
2021-06-17 21:32:24 +00:00
# LibPNG
2022-06-14 00:49:09 +00:00
add_subdirectory(libpng)
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
2022-05-11 22:24:03 +00:00
if(BUILD_ARM_COMPONENTS AND MCPI_BUNDLE_ARMHF_SYSROOT)
2022-05-03 02:44:10 +00:00
add_subdirectory(armhf-sysroot)
endif()