minecraft-pi-reborn/media-layer/CMakeLists.txt
2024-11-19 19:57:43 -05:00

17 lines
395 B
CMake

project(media-layer)
# Add Headers
add_library(media-layer-headers INTERFACE)
setup_header_dirs(media-layer-headers "${CMAKE_CURRENT_SOURCE_DIR}/include")
setup_library(media-layer-headers FALSE TRUE)
# Add Core
if(BUILD_MEDIA_LAYER_CORE)
add_subdirectory(core)
endif()
# Add Trampoline
if(MCPI_USE_MEDIA_LAYER_TRAMPOLINE OR BUILD_ARM_COMPONENTS)
add_subdirectory(trampoline)
endif()