mirror of
https://github.com/microsoft/DirectX-Headers.git
synced 2024-11-23 09:56:39 +08:00
Suggested change from eli-schwartz in feedback just in case dxcore gets added.
This commit is contained in:
parent
9c8385f161
commit
b54d8eefc7
@ -8,11 +8,7 @@ cpp = meson.get_compiler('cpp')
|
||||
compiler_id = cpp.get_id()
|
||||
d3d12_lib = cpp.find_library('d3d12')
|
||||
#dxcore is not available in Mingw-w64
|
||||
if compiler_id == 'msvc'
|
||||
dxcore_lib = cpp.find_library('dxcore')
|
||||
else
|
||||
dxcore_lib = cpp.find_library('dxcore', required: false)
|
||||
endif
|
||||
dxcore_lib = cpp.find_library('dxcore', required: compiler_id == 'msvc')
|
||||
test_compile_opts = []
|
||||
if host_machine.system() == 'windows'
|
||||
test_compile_opts = ['-DUNICODE', '-D_WIN32_WINNT=0x0A00']
|
||||
|
Loading…
Reference in New Issue
Block a user