]> git.tdb.fi Git - libs/gl.git/blobdiff - Build
Unbind vertex buffer after updating array data
[libs/gl.git] / Build
diff --git a/Build b/Build
index b83b3c7c12c37f67140ce45ed70e2c13de3ce958..829b15f5d87f331f12bf9800df6513553cd2a692 100644 (file)
--- a/Build
+++ b/Build
@@ -5,12 +5,17 @@ package "mspgl"
        description "C++ wrappers for OpenGL";
        version "0.1";
 
-       require "opengl";
        require "mspdatafile";
-       require "devil";
-       build_info
+       require "opengl";
+
+       feature "devil" "Include DevIL support for loading image files";
+       if "with_devil"
        {
-               library "ILU";
+               require "devil";
+               build_info
+               {
+                       library "ILU";
+               };
        };
 
        library "mspgl"