Commits

Jason McKesson committed f060c46

Allowed glimg and glload to build without the test directory.

  • Participants
  • Parent commits dfd8ab7

Comments (0)

Files changed (2)

glimg/premake4.lua

 defines {"_SCL_SECURE_NO_WARNINGS"}
 
 dofile("glimg.lua")
-dofile("../glload/glload.lua");
-dofile("Test/Test4.lua");
+
+if(#os.matchfiles("Test/Test4.lua") ~= 0) then
+	dofile("../glload/glload.lua");
+	dofile("Test/Test4.lua");
+end

glload/premake4.lua

 
 dofile("glload.lua");
 
-dofile("Test/Test4.lua");
+if(#os.matchfiles("Test/Test4.lua") ~= 0) then
+	dofile("Test/Test4.lua");
+end