Add header/lib for OpenGL on each platform.

This commit is contained in:
Jorge Acereda 2020-06-29 11:57:06 +02:00
parent 73bb5735c1
commit d6aa71702e

View File

@ -1,7 +1,12 @@
(mac-only
(system-include "OpenGL/gl.h")
(add-lib "-framework OpenGL"))
(linux-only
(system-include "GL/gl.h")
(add-pkg "gl"))
(windows-only
(system-include "gl.h")
(add-lib "-lopengl32"))
(defmodule GL