From ee59da4aa376015feef7dc099952d3d7fcf80a18 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 4 Jan 2025 23:41:14 -0600 Subject: [PATCH] [glad] Make glad not an object lib --- deps/glad/CMakeLists.txt | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/deps/glad/CMakeLists.txt b/deps/glad/CMakeLists.txt index 740bd512..ea904c9a 100644 --- a/deps/glad/CMakeLists.txt +++ b/deps/glad/CMakeLists.txt @@ -1,2 +1,11 @@ -add_library(glad OBJECT src/glad.c) -target_include_directories(glad PUBLIC include) \ No newline at end of file +add_library(glad src/glad.c) + +target_include_directories(glad PUBLIC include) + +install( + TARGETS + glad + DESTINATION + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib +)