project(media-layer) # Add Headers add_library(media-layer-headers INTERFACE) target_include_directories( media-layer-headers INTERFACE "$" "$" ) # SDK if(BUILD_ARM_COMPONENTS) install(TARGETS media-layer-headers EXPORT sdk DESTINATION "${MCPI_SDK_LIB_DIR}") # Copy Headers set(GLES_HEADERS "include/GLES") install( DIRECTORY "include/" DESTINATION "${MCPI_SDK_INCLUDE_DIR}/media-layer" ) endif() # Add Core if(BUILD_MEDIA_LAYER_CORE) add_subdirectory(gles) add_subdirectory(core) endif() # Add Trampoline if(MCPI_USE_MEDIA_LAYER_TRAMPOLINE OR BUILD_ARM_COMPONENTS) add_subdirectory(trampoline) endif()