From 7818a8510ab1ad43305186d774396007cb4398ed Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Tue, 23 Oct 2018 00:30:33 +0200 Subject: [PATCH] CMake: install DeferredShading resources on android --- CMake/Templates/Android_resources.cfg.in | 2 ++ CMake/Utils/AndroidMacros.cmake | 1 + 2 files changed, 3 insertions(+) diff --git a/CMake/Templates/Android_resources.cfg.in b/CMake/Templates/Android_resources.cfg.in index 274012196b9..e32268d1094 100644 --- a/CMake/Templates/Android_resources.cfg.in +++ b/CMake/Templates/Android_resources.cfg.in @@ -31,3 +31,5 @@ APKZip=/packs/DamagedHelmet.zip APKFileSystem=/PBR APKFileSystem=/HLMS +APKFileSystem=/DeferredShadingMedia +APKFileSystem=/DeferredShadingMedia/DeferredShading/post diff --git a/CMake/Utils/AndroidMacros.cmake b/CMake/Utils/AndroidMacros.cmake index 237ad3a1681..b3c9b8d34e7 100644 --- a/CMake/Utils/AndroidMacros.cmake +++ b/CMake/Utils/AndroidMacros.cmake @@ -36,6 +36,7 @@ macro(copy_assets_to_android_proj) file(COPY "${CMAKE_SOURCE_DIR}/Samples/Media/materials" DESTINATION "${NDKOUT}/assets") file(COPY "${CMAKE_SOURCE_DIR}/Samples/Media/HLMS" DESTINATION "${NDKOUT}/assets") file(COPY "${CMAKE_SOURCE_DIR}/Samples/Media/PBR" DESTINATION "${NDKOUT}/assets") + file(COPY "${CMAKE_SOURCE_DIR}/Samples/Media/DeferredShadingMedia" DESTINATION "${NDKOUT}/assets") file(COPY "${CMAKE_SOURCE_DIR}/SDK/Android/drawable-hdpi" DESTINATION "${NDKOUT}/res") file(COPY "${CMAKE_SOURCE_DIR}/SDK/Android/drawable-ldpi" DESTINATION "${NDKOUT}/res")