diff --git a/android/README.md b/android/README.md index e84904f8..d8ff2b5c 100644 --- a/android/README.md +++ b/android/README.md @@ -20,6 +20,10 @@ Since Vulkan is not yet part of the Android OS (like OpenGL ES) the library and ### Building the Examples +### Grab Externals + +Make sure all submodules have been cloned using the [steps from main README](../README.md#cloning). + ### Complete set **Please note that building (and deploying) all examples may take a while** diff --git a/android/build.py b/android/build.py index 115c8d88..88d23dbd 100644 --- a/android/build.py +++ b/android/build.py @@ -71,6 +71,12 @@ for arg in sys.argv[1:]: BUILD_ARGS = "APP_CFLAGS=-D_VALIDATION" break +# Verify submodules are loaded in external folder +if not os.listdir("../external/glm/") or not os.listdir("../external/gli/"): + print("External submodules not loaded. Clone them using:") + print("\tgit submodule init\n\tgit submodule update") + sys.exit(-1) + # Build os.chdir(PROJECT_FOLDER)