Fix GLAD CI Build
This commit is contained in:
parent
cc060accaf
commit
bddc299664
7
dependencies/imgui/glad/CMakeLists.txt
vendored
7
dependencies/imgui/glad/CMakeLists.txt
vendored
@ -31,6 +31,13 @@ add_custom_command(
|
|||||||
|
|
||||||
# Build
|
# Build
|
||||||
add_library(glad SHARED ${GLAD_SOURCES})
|
add_library(glad SHARED ${GLAD_SOURCES})
|
||||||
|
target_compile_definitions(glad
|
||||||
|
PUBLIC GLAD_GLAPI_EXPORT
|
||||||
|
PRIVATE GLAD_GLAPI_EXPORT_BUILD
|
||||||
|
)
|
||||||
|
|
||||||
|
# Link
|
||||||
|
target_link_libraries(glad PRIVATE dl)
|
||||||
|
|
||||||
# Headers
|
# Headers
|
||||||
setup_header_dirs(glad
|
setup_header_dirs(glad
|
||||||
|
Loading…
Reference in New Issue
Block a user