win32: link against Direct3D 12
This prepares the build system for adding D3D12 support. No actual code changes yet.
This commit is contained in:
@@ -55,10 +55,17 @@ if have_egl
|
||||
gdk_win32_sources += ['gdkglcontext-win32-egl.c']
|
||||
endif
|
||||
|
||||
d3d12_dep = [
|
||||
cc.find_library('d3d12'),
|
||||
cc.find_library('dxgi'),
|
||||
dependency('DirectX-Headers', version: '>= 1.611'),
|
||||
]
|
||||
|
||||
gdk_win32_deps = [
|
||||
pangowin32_dep, # FIXME
|
||||
cc.find_library('hid'),
|
||||
cc.find_library('opengl32'),
|
||||
d3d12_dep,
|
||||
]
|
||||
|
||||
libgdk_win32 = static_library('gdk-win32',
|
||||
|
||||
Reference in New Issue
Block a user