build: Explicitly link the demos with libvulkan.

Since demos/demo_xcb.h uses vkCreateXcbSurfaceKHR(). At least some (2.4.6)
versions of libtool seem to pull libvulkan in automatically through libvkd3d,
but mine (2.4.2) doesn't.
This commit is contained in:
Henri Verbeet 2017-06-15 16:16:09 +02:00
parent f604f25aba
commit 755e368f6b

View File

@ -91,7 +91,7 @@ AM_DEFAULT_SOURCE_EXT = .c
TESTS = $(vkd3d_tests) TESTS = $(vkd3d_tests)
tests_d3d12_LDADD = $(LDADD) @PTHREAD_LIBS@ tests_d3d12_LDADD = $(LDADD) @PTHREAD_LIBS@
DEMOS_LDADD = libvkd3d.la $(LDADD) @XCB_LIBS@ DEMOS_LDADD = libvkd3d.la $(LDADD) @XCB_LIBS@ @VULKAN_LIBS@
DEMOS_CFLAGS = @XCB_CFLAGS@ DEMOS_CFLAGS = @XCB_CFLAGS@
noinst_PROGRAMS = $(vkd3d_demos) noinst_PROGRAMS = $(vkd3d_demos)
EXTRA_DIST += $(vkd3d_demos_headers) EXTRA_DIST += $(vkd3d_demos_headers)