From bca69cd078b871fca270aae5a0c76334ee42af23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Wed, 22 May 2019 06:51:46 -1000 Subject: [PATCH] Add support for BSD plateforms Tested on FreeSBD. --- premake4.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/premake4.lua b/premake4.lua index 69533c9..4ede688 100644 --- a/premake4.lua +++ b/premake4.lua @@ -43,3 +43,8 @@ solution "libtess2" configuration { "macosx" } links { "glfw3" } linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo" } + + configuration { "bsd" } + linkoptions { "`pkg-config --libs glfw3`" } + links { "GL", "GLU", "m", "GLEW" } + defines { "NANOVG_GLEW" }