Ver código fonte

Update to allow linux compilation

Delano Leslie 1 ano atrás
pai
commit
7874e67594
1 arquivos alterados com 4 adições e 0 exclusões
  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}/"