提交 34cf2b05 编写于 作者: B BtbN 提交者: Timo R

Add glad headers to CMakeLists

上级 6e4a79a6
......@@ -7,14 +7,17 @@ if(NOT WIN32 AND NOT APPLE)
endif()
set(glad_SOURCES
src/glad.c)
src/glad.c
include/glad/glad.h)
if(WIN32)
set(glad_PLATFORM_SOURCES
src/glad_wgl.c)
src/glad_wgl.c
include/glad/glad_wgl.h)
elseif(NOT APPLE)
set(glad_PLATFORM_SOURCES
src/glad_glx.c)
src/glad_glx.c
include/glad/glad_glx.h)
endif()
add_library(glad SHARED
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册