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.
This commit is contained in:
@@ -59,8 +59,6 @@ endif()
|
|||||||
set(_SAVED_CMAKE_CXX_STANDARD ${CMAKE_CXX_STANDARD})
|
set(_SAVED_CMAKE_CXX_STANDARD ${CMAKE_CXX_STANDARD})
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
|
|
||||||
find_package(ZLIB REQUIRED)
|
|
||||||
|
|
||||||
# Configure gRPC build options before fetching
|
# Configure gRPC build options before fetching
|
||||||
set(gRPC_BUILD_TESTS OFF CACHE BOOL "" FORCE)
|
set(gRPC_BUILD_TESTS OFF CACHE BOOL "" FORCE)
|
||||||
set(gRPC_BUILD_CODEGEN ON CACHE BOOL "" FORCE)
|
set(gRPC_BUILD_CODEGEN ON CACHE BOOL "" FORCE)
|
||||||
|
|||||||
21
vcpkg.json
21
vcpkg.json
@@ -5,6 +5,25 @@
|
|||||||
"description": "Yet Another Zelda3 Editor",
|
"description": "Yet Another Zelda3 Editor",
|
||||||
"builtin-baseline": "01f602195983451bc83e72f4214af2cbc495aa94",
|
"builtin-baseline": "01f602195983451bc83e72f4214af2cbc495aa94",
|
||||||
"dependencies": [
|
"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"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user