require "opengl";
};
- if_arch "!windows"
+ if_arch "!windows & !darwin"
{
- if_arch "!darwin"
+ feature "xrandr" "Include support for video mode switching with XRandR";
+ if_feature "xrandr"
{
- feature "xrandr" "Include support for video mode switching with XRandR";
- if_feature "xrandr"
- {
- build_info
- {
- library "Xrandr";
- };
- };
+ require "xrandr";
};
};
overlay "cgl";
};
};
- if_arch "!windows"
+ if_arch "!windows & !darwin"
{
- if_arch "!darwin"
+ overlay "x11";
+ if_feature "opengl"
{
- overlay "x11";
- if_feature "opengl"
- {
- overlay "glx";
- };
+ overlay "glx";
};
};
install true;