From 6032b4dc8b87d743455341a3cad75095010c0ab0 Mon Sep 17 00:00:00 2001 From: utzcoz Date: Wed, 19 Apr 2023 10:55:23 +0000 Subject: [PATCH] vcpkg: Enable vulkan feature for sdl2 The comp_window_peek needs sdl2 with Vulkan supporting, and normal sdl2 installation doesn't support Vulkan. So we need to install Vulkan feature of sdl2 explicitly to let sdl2 work with Vulkan, and let comp_window_peek works on Windows. --- vcpkg.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/vcpkg.json b/vcpkg.json index e3608bf32..58dc7809d 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -35,7 +35,13 @@ "gui": { "description": "Debug GUI support", "dependencies": [ - "sdl2" + { + "name": "sdl2", + "features": [ + "base", + "vulkan" + ] + } ] } }