mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-25 01:51:04 +00:00
15 lines
344 B
CMake
15 lines
344 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 (LINUX)
|
|
target_link_libraries(glad PRIVATE dl)
|
|
endif()
|