From 08cf4ee8c5bb705f056626002d1a85adde3872a3 Mon Sep 17 00:00:00 2001 From: eyesofish <110754016+eyesofish@users.noreply.github.com> Date: Tue, 25 Aug 2026 13:39:52 +0800 Subject: [PATCH] docs: fix Android CMake argument formatting Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0cb277a1549c..065fe548a7de 100644 --- a/README.md +++ b/README.md @@ -97,13 +97,13 @@ To build for Android, add `-DTARGET_ARCH=ANDROID` to your CMake command line. Cu Building for Android on Windows requires some additional setup. In particular, you will need to run CMake from a Visual Studio developer command prompt (2015 or higher). Additionally, you will need 'git' and 'patch' in your path. If you have Git installed on a Windows system, then the patch is likely found in a sibling directory (.../Git/usr/bin/). Once you've verified these requirements, your CMake command line will change slightly to use nmake: ```sh - cmake -G "NMake Makefiles" `-DTARGET_ARCH=ANDROID` .. + cmake -G "NMake Makefiles" -DTARGET_ARCH=ANDROID .. ``` Nmake builds targets in a serial fashion. To make things quicker, we recommend installing JOM as an alternative to nmake and then changing the CMake invocation to: ```sh - cmake -G "NMake Makefiles JOM" `-DTARGET_ARCH=ANDROID` .. + cmake -G "NMake Makefiles JOM" -DTARGET_ARCH=ANDROID .. ``` ### Building aws-sdk-cpp - Using vcpkg