mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-16 20:07:16 +01: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/")
|