浏览代码

Update to allow linux compilation

Delano Leslie 1 年之前
父节点
当前提交
7874e67594
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      premake5.lua

+ 4 - 0
premake5.lua

@@ -81,6 +81,10 @@ workspace "rlImGui"
 		
 	filter { "platforms:x64" }
 		architecture "x86_64"
+
+	filter { "system:linux" }
+		defines { "_GLFW_X11" }
+		defines { "_GNU_SOURCE" }
 		
 	targetdir "bin/%{cfg.buildcfg}/"