update deps

This commit is contained in:
QIDI TECH
2025-08-01 14:19:36 +08:00
parent fc0a06deaa
commit 8ed41b9f06
21 changed files with 442 additions and 208 deletions

View File

@@ -3,9 +3,12 @@ project(GLEW)
find_package(OpenGL REQUIRED)
if(OpenGL_EGL_FOUND)
message(STATUS "building GLEW for EGL (hope that wxWidgets agrees, otherwise you won't have any output!)")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DGLEW_EGL")
# we do not support wayland for now
if(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux")
if(OpenGL_EGL_FOUND)
message(STATUS "building GLEW for EGL (hope that wxWidgets agrees, otherwise you won't have any output!)")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DGLEW_EGL")
endif()
endif()
add_library(GLEW src/glew.c)