-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Xrandr not implicitly required when x11 is used #1619
Make Xrandr not implicitly required when x11 is used #1619
Conversation
CI Vulkan-Loader build queued with queue ID 315151. |
CI Vulkan-Loader build # 2818 running. |
The previous logic made xrandr a required header whenever x11 was available which doesn't honestly convey build requirements to users. This commit add BUILD_WSI_XLIB_XRANDR_SUPPORT as a build option that defaults to ON (for platforms which support x11) so the xrandr requirement can be configured by users directly.
570b04e
to
6a1712f
Compare
CI Vulkan-Loader build queued with queue ID 315169. |
CI Vulkan-Loader build # 2819 running. |
CI Vulkan-Loader build # 2819 failed. |
PKG_CONFIG_EXECTUABLE is a CMake variable that sets the pkg-config executable used, allowing the use of the 32 bit pkg-config when looking for pkg-config packages. The prior version of the 32 bit job actually used the 64 bit packages but that happened to work okay because the only things used from the 64 bit packages were header files, which are arch agnostic.
CI Vulkan-Loader build queued with queue ID 329578. |
CI Vulkan-Loader build # 2836 running. |
CI Vulkan-Loader build # 2836 failed. |
CI Vulkan-Loader build queued with queue ID 329667. |
CI Vulkan-Loader build # 2837 running. |
CI Vulkan-Loader build # 2837 passed. |
The previous logic made xrandr a required header whenever x11 was available which doesn't honestly convey build requirements to users.
This commit add BUILD_WSI_XLIB_XRANDR_SUPPORT as a build option that defaults to ON (for platforms which support x11) so the xrandr requirement can be configured by users directly.