From 87753af8d0bbfd38e4842362b4fc1a5b79289478 Mon Sep 17 00:00:00 2001 From: tdcosta100 Date: Sun, 19 Jan 2025 16:12:41 -0300 Subject: [PATCH] Put git configuration core.longpaths=true in Windows documentation --- platform/windows/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/platform/windows/README.md b/platform/windows/README.md index 917787f1268..52b5298755c 100644 --- a/platform/windows/README.md +++ b/platform/windows/README.md @@ -15,10 +15,13 @@ To install the required Visual Studio components, open Visual Studio Installer a Open `x64 Native Tools Command Prompt for VS 2022` and then clone the repository: ```cmd -git clone --recurse-submodules -j8 https://github.com/maplibre/maplibre-native.git +git clone --config core.longpaths=true --recurse-submodules -j8 https://github.com/maplibre/maplibre-native.git cd maplibre-native ``` +> [!NOTE] +> The `core.longpaths=true` config is necessary, because without it a lot of `Filename too long` messages will come. If you have this configuration set globally (`git config --system core.longpaths=true`), you can omit the `--config core.longpaths=true` portion of the clone command. + ## Configuring Configure the build with the following command: