From 7275eb85edfdda8b3324848e11adce0ec8d14cff Mon Sep 17 00:00:00 2001 From: Mike Tzou Date: Thu, 12 Nov 2020 00:25:42 +0800 Subject: [PATCH] Updated Compilation: Windows (MSVC 2019, 64 bit, static linkage) (markdown) --- Compilation:-Windows-(MSVC-2019,-64-bit,-static-linkage).md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Compilation:-Windows-(MSVC-2019,-64-bit,-static-linkage).md b/Compilation:-Windows-(MSVC-2019,-64-bit,-static-linkage).md index 3d61777..29db5d4 100644 --- a/Compilation:-Windows-(MSVC-2019,-64-bit,-static-linkage).md +++ b/Compilation:-Windows-(MSVC-2019,-64-bit,-static-linkage).md @@ -88,7 +88,7 @@ Then, clone the repository, checkout your preferred commit/tag, apply any patche ```pwsh git clone https://github.com/arvidn/libtorrent.git git checkout RC_1_2 -cmake -G "Ninja" -B cmake-build-dir -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="C:\path\to\vcpkg\scripts\buildsystems\vcpkg.cmake" -DVCPKG_TARGET_TRIPLET="x64-windows-static" -DBUILD_SHARED_LIBS=OFF -Dstatic_runtime=ON -Ddeprecated-functions=OFF +cmake -G "Ninja" -B cmake-build-dir -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="C:\path\to\vcpkg\scripts\buildsystems\vcpkg.cmake" -DVCPKG_TARGET_TRIPLET="x64-windows-static" -DBUILD_SHARED_LIBS=OFF -Dstatic_runtime=ON -Ddeprecated-functions=ON cmake --build cmake-build-dir cmake --install cmake-build-dir --prefix C:\some\folder\not\requiring\admin\privileges\libtorrent-install-dir ```