From c82888cab0f842f351cf68c65dd7541bb59536e1 Mon Sep 17 00:00:00 2001 From: scawful Date: Wed, 15 Oct 2025 09:26:17 -0400 Subject: [PATCH] feat(vcpkg): add SDL2, yaml-cpp, and zlib dependencies for Windows - Introduced new dependencies for SDL2, yaml-cpp, and zlib in the vcpkg.json file, enhancing the project's capability to support additional features on Windows. - Updated the SDL2 override to specify version 2.30.9, ensuring compatibility with the latest features. Benefits: - Expands the project's functionality by integrating essential libraries, improving overall performance and maintainability. --- cmake/grpc.cmake | 2 -- vcpkg.json | 21 ++++++++++++++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/cmake/grpc.cmake b/cmake/grpc.cmake index c8de9174..d31699ab 100644 --- a/cmake/grpc.cmake +++ b/cmake/grpc.cmake @@ -59,8 +59,6 @@ endif() set(_SAVED_CMAKE_CXX_STANDARD ${CMAKE_CXX_STANDARD}) set(CMAKE_CXX_STANDARD 17) -find_package(ZLIB REQUIRED) - # Configure gRPC build options before fetching set(gRPC_BUILD_TESTS OFF CACHE BOOL "" FORCE) set(gRPC_BUILD_CODEGEN ON CACHE BOOL "" FORCE) diff --git a/vcpkg.json b/vcpkg.json index d4f7d156..ec4c2c8c 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -5,6 +5,25 @@ "description": "Yet Another Zelda3 Editor", "builtin-baseline": "01f602195983451bc83e72f4214af2cbc495aa94", "dependencies": [ - + { + "name": "sdl2", + "platform": "windows", + "default-features": false, + "features": [] + }, + { + "name": "yaml-cpp", + "platform": "windows" + }, + { + "name": "zlib", + "platform": "windows" + } + ], + "overrides": [ + { + "name": "sdl2", + "version": "2.30.9" + } ] }