From bddc2996649cbae200ba81989b7652e6e0b80d36 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Sun, 24 Nov 2024 21:31:26 -0500 Subject: [PATCH] Fix GLAD CI Build --- dependencies/imgui/glad/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dependencies/imgui/glad/CMakeLists.txt b/dependencies/imgui/glad/CMakeLists.txt index c652f470ca..5853b76990 100644 --- a/dependencies/imgui/glad/CMakeLists.txt +++ b/dependencies/imgui/glad/CMakeLists.txt @@ -31,6 +31,13 @@ add_custom_command( # Build 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 setup_header_dirs(glad