فهرست منبع

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}/"