shithub: cstory

Download patch

ref: e39c46fae9973ee796744bc59d44303b47c99e00
parent: 393359e63f41450f2b132c9c015bc78130b6fcae
author: Clownacy <[email protected]>
date: Sat Apr 4 23:27:50 EDT 2020

Force glad to be static

Pretty sure it isn't set up to generate a proper DLL, so make sure it
always produces a static library instead.

--- a/external/glad/CMakeLists.txt
+++ b/external/glad/CMakeLists.txt
@@ -4,7 +4,7 @@
 
 project(glad LANGUAGES C)
 
-add_library(glad
+add_library(glad STATIC
 	"include/glad/glad.h"
 	"include/KHR/khrplatform.h"
 	"src/glad.c"