5cc541ea7c
Fixes compilation failure introduced in a1a5570e97
.
15 lines
350 B
CMake
15 lines
350 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/")
|
|
|
|
if (UNIX AND NOT APPLE)
|
|
target_link_libraries(glad dl)
|
|
endif()
|