Commits

Jason McKesson committed f060c46

Allowed glimg and glload to build without the test directory.

Comments (0)

Files changed (2)

 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
 
 dofile("glload.lua");
 
-dofile("Test/Test4.lua");
+if(#os.matchfiles("Test/Test4.lua") ~= 0) then
+	dofile("Test/Test4.lua");
+end