From 2c405f5d2cfadac5413cc597727f2c1f8278b359 Mon Sep 17 00:00:00 2001 From: Dario Date: Fri, 13 Dec 2024 11:13:12 -0300 Subject: [PATCH] vcpkg as submodule. --- .gitmodules | 3 +++ CMakePresets.json | 2 +- thirdparty/vcpkg | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 160000 thirdparty/vcpkg diff --git a/.gitmodules b/.gitmodules index 5ca29d40..05092ac0 100644 --- a/.gitmodules +++ b/.gitmodules @@ -19,3 +19,6 @@ [submodule "thirdparty/miniaudio"] path = thirdparty/miniaudio url = https://github.com/mackron/miniaudio +[submodule "thirdparty/vcpkg"] + path = thirdparty/vcpkg + url = https://github.com/microsoft/vcpkg diff --git a/CMakePresets.json b/CMakePresets.json index 904d2b4b..a6c20c23 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -76,7 +76,7 @@ "VCPKG_CHAINLOAD_TOOLCHAIN_FILE": "${sourceDir}/toolchains/linux-clang.cmake" }, "environment": { - "VCPKG_ROOT": "~/vcpkg" + "VCPKG_ROOT": "${sourceDir}/thirdparty/vcpkg" }, "condition": { "type": "equals", diff --git a/thirdparty/vcpkg b/thirdparty/vcpkg new file mode 160000 index 00000000..19847ac3 --- /dev/null +++ b/thirdparty/vcpkg @@ -0,0 +1 @@ +Subproject commit 19847ac3d8cad7599e96bd531f9bc1f0ebae6131