]> git.tdb.fi Git - libs/gui.git/blobdiff - Build
Initial XRandR support
[libs/gui.git] / Build
diff --git a/Build b/Build
index f311834e48cf4ad3fde968825350396008fb06c2..91255cea1377423f7124d0ac026906282bd1621d 100644 (file)
--- a/Build
+++ b/Build
@@ -43,12 +43,12 @@ package "mspgui"
 
        if_arch "!windows"
        {
-               feature "xf86vidmode" "Include support for video mode switching with xf86vidmode";
-               if_feature "xf86vidmode"
+               feature "xrandr" "Include support for video mode switching with XRandR";
+               if_feature "xrandr"
                {
                        build_info
                        {
-                               library "Xxf86vm";
+                               library "Xrandr";
                        };
                };
        };
@@ -57,6 +57,22 @@ package "mspgui"
        {
                source "source/graphics";
                source "source/input";
+               if_arch "windows"
+               {
+                       overlay "windows";
+                       if_feature "opengl"
+                       {
+                               overlay "wgl";
+                       };
+               };
+               if_arch "!windows"
+               {
+                       overlay "x11";
+                       if_feature "opengl"
+                       {
+                               overlay "glx";
+                       };
+               };
                install true;
                install_map
                {