From da63fb8cd5211db1d3b1b9a73b4c5b997c223e8e Mon Sep 17 00:00:00 2001 From: Christian Halaszovich Date: Fri, 6 Dec 2024 22:35:54 +0100 Subject: [PATCH] Update CMakePresets.json: add vcpkg config --- CMakePresets.json | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/CMakePresets.json b/CMakePresets.json index 5579457..f21ab7c 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -36,6 +36,15 @@ "description": "Hiermit wird Windows (64 Bit) mit der Visual Studio-Entwicklungsumgebung als Ziel verwendet. (RelWithDebInfo)", "inherits": "x64-debug", "cacheVariables": { "CMAKE_BUILD_TYPE": "Release" } - } + }, + { + "name": "vcpkg", + "generator": "Ninja", + "binaryDir": "${sourceDir}/build", + "cacheVariables": { + "CMAKE_TOOLCHAIN_FILE": + "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" + } + } ] -} \ No newline at end of file +}