Update vcpkg configuration and remove GLEW dependencies for improved compatibility

- Updated the builtin-baseline in vcpkg.json to the latest version.
- Removed GLEW references from CMake files to avoid MSYS2 issues and streamline the build process.
- Adjusted include and link directories in z3ed.cmake to reflect the removal of GLEW.
This commit is contained in:
scawful
2025-09-28 01:47:21 -04:00
parent ff0e9c0cc3
commit abdf7434d6
3 changed files with 2 additions and 11 deletions

View File

@@ -22,16 +22,14 @@ endif()
# libpng and ZLIB dependencies
if(WIN32)
# Windows builds with vcpkg (Abseil removed to avoid MSYS2 issues)
# Windows builds with vcpkg (OpenGL/GLEW removed to avoid MSYS2 issues)
if(NOT YAZE_MINIMAL_BUILD)
find_package(ZLIB REQUIRED)
find_package(PNG REQUIRED)
find_package(GLEW REQUIRED)
else()
# For CI/minimal builds, try to find but don't require
find_package(ZLIB QUIET)
find_package(PNG QUIET)
find_package(GLEW QUIET)
if(NOT ZLIB_FOUND OR NOT PNG_FOUND)
message(STATUS "PNG/ZLIB not found in minimal build, some features may be disabled")
set(PNG_FOUND FALSE)