mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-11 22:32:51 +00:00
a1a5570e97
The main advantage of switching to glad from glLoadGen is that, apart from being actively maintained, it supports a customizable entrypoint loader function, which makes it possible to also support OpenGL ES.
12 lines
282 B
CMake
12 lines
282 B
CMake
set(SRCS
|
|
src/glad.c
|
|
)
|
|
set(HEADERS
|
|
include/KHR/khrplatform.h
|
|
include/glad/glad.h
|
|
)
|
|
|
|
create_directory_groups(${SRCS} ${HEADERS})
|
|
add_library(glad STATIC ${SRCS} ${HEADERS})
|
|
target_include_directories(glad PUBLIC "include/")
|