]> git.tdb.fi Git - libs/gl.git/blobdiff - Build
Windows compatibility:
[libs/gl.git] / Build
diff --git a/Build b/Build
index a70e9ac90bb1d5871c9cdcf5ec9edd21868db08d..37e2ef7df93466310bd0d14303f61b71fe9e37c4 100644 (file)
--- a/Build
+++ b/Build
@@ -5,9 +5,24 @@ package "mspgl"
        description "C++ wrappers for OpenGL";
        version "0.1";
 
-       require "opengl";
+       // A bit of a hack until I get something better in builder
+       if "arch!=win32"
+       {
+               require "opengl";
+       };
+       if "arch=win32"
+       {
+               build_info
+               {
+                       library "opengl32";
+               };
+       };
        require "mspdatafile";
-       require "libpng";
+       require "devil";
+       build_info
+       {
+               library "ILU";
+       };
 
        library "mspgl"
        {