X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Build;h=cc0de245bd23b79f129703c769d0b6cd5a16ae0d;hb=0bea04fdbb08596dcf57210164d5dbb10308b4d7;hp=37e2ef7df93466310bd0d14303f61b71fe9e37c4;hpb=a4ec5410595ddf37bfbc0e85ad87d31a9cbf94f1;p=libs%2Fgl.git diff --git a/Build b/Build index 37e2ef7d..cc0de245 100644 --- a/Build +++ b/Build @@ -5,6 +5,8 @@ package "mspgl" description "C++ wrappers for OpenGL"; version "0.1"; + feature "devil" "Include DevIL support for loading image files"; + // A bit of a hack until I get something better in builder if "arch!=win32" { @@ -18,10 +20,13 @@ package "mspgl" }; }; require "mspdatafile"; - require "devil"; - build_info + if "with_devil" { - library "ILU"; + require "devil"; + build_info + { + library "ILU"; + }; }; library "mspgl"