diff options
author | Marcin Ĺšlusarz <[email protected]> | 2016-04-16 22:48:09 +0200 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-04-20 11:12:10 -0700 |
commit | 3caf2e89aa1711e80db80d2056e0a44663d9c7d2 (patch) | |
tree | 45037885ff9b35f08287617faddd4ca122c9a453 /src/intel/vulkan/Makefile.am | |
parent | 6c952d8ac7fd57d32170492adaca9c135edd8936 (diff) |
anv: fix build without Wayland platform
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/Makefile.am')
-rw-r--r-- | src/intel/vulkan/Makefile.am | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am index a84be729548..edbe2132b22 100644 --- a/src/intel/vulkan/Makefile.am +++ b/src/intel/vulkan/Makefile.am @@ -31,8 +31,7 @@ vulkan_include_HEADERS = \ # Used when generating entrypoints to filter out unwanted extensions VULKAN_ENTRYPOINT_CPPFLAGS = \ -I$(top_srcdir)/include/vulkan \ - -DVK_USE_PLATFORM_XCB_KHR \ - -DVK_USE_PLATFORM_WAYLAND_KHR + -DVK_USE_PLATFORM_XCB_KHR lib_LTLIBRARIES = libvulkan_intel.la @@ -67,7 +66,7 @@ AM_CPPFLAGS = \ -I$(top_builddir)/src/compiler/nir \ -I$(top_builddir)/src/intel -libvulkan_intel_la_CFLAGS = $(CFLAGS) -Wno-override-init -msse2 +libvulkan_intel_la_CFLAGS = $(CFLAGS) -DVK_USE_PLATFORM_XCB_KHR -Wno-override-init -msse2 VULKAN_SOURCES = \ anv_allocator.c \ @@ -150,7 +149,9 @@ AM_CPPFLAGS += -I$(top_srcdir)/src/egl/wayland/wayland-drm VULKAN_SOURCES += \ wayland-drm-protocol.c \ anv_wsi_wayland.c -libvulkan_intel_la_CFLAGS += -DHAVE_WAYLAND_PLATFORM +libvulkan_intel_la_CFLAGS += -DHAVE_WAYLAND_PLATFORM -DVK_USE_PLATFORM_WAYLAND_KHR + +VULKAN_ENTRYPOINT_CPPFLAGS += -DVK_USE_PLATFORM_WAYLAND_KHR endif libvulkan_intel_la_SOURCES = \ |