Parcourir la source

Update to allow linux compilation

Delano Leslie il y a 1 an
Parent
commit
7874e67594
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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}/"