Add glad headers to CMakeLists

This commit is contained in:
BtbN 2014-07-06 23:00:56 +02:00 committed by Timo R
parent 6e4a79a640
commit 34cf2b0528

View file

@ -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