build: Make libxcb optional.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia
2018-08-21 18:08:03 +02:00
committed by Alexandre Julliard
parent 98f8e12ae6
commit 94f85114c5
3 changed files with 25 additions and 12 deletions

View File

@@ -34,7 +34,9 @@ HRESULT WINAPI D3D12CreateDevice(IUnknown *adapter,
static const char * const instance_extensions[] =
{
VK_KHR_SURFACE_EXTENSION_NAME,
#ifdef HAVE_XCB
VK_KHR_XCB_SURFACE_EXTENSION_NAME,
#endif
};
static const char * const device_extensions[] =
{