Fix GLAD CI Build

This commit is contained in:
TheBrokenRail 2024-11-24 21:31:26 -05:00
parent cc060accaf
commit bddc299664

View File

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