mirror of https://github.com/xemu-project/xemu.git
meson: Unconditionally import cmake
This commit is contained in:
parent
72ea0f7157
commit
0554095dcd
|
@ -81,6 +81,7 @@ have_ga = get_option('guest_agent') \
|
||||||
have_block = have_system or have_tools
|
have_block = have_system or have_tools
|
||||||
|
|
||||||
python = import('python').find_installation()
|
python = import('python').find_installation()
|
||||||
|
cmake = import('cmake')
|
||||||
|
|
||||||
if cpu not in supported_cpus
|
if cpu not in supported_cpus
|
||||||
host_arch = 'unknown'
|
host_arch = 'unknown'
|
||||||
|
@ -1198,8 +1199,6 @@ elif targetos == 'linux'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if vulkan.found()
|
if vulkan.found()
|
||||||
cmake = import('cmake')
|
|
||||||
|
|
||||||
if not libglslang.found()
|
if not libglslang.found()
|
||||||
# FIXME: Get spirv-tools to enable opt.
|
# FIXME: Get spirv-tools to enable opt.
|
||||||
glslang_opts = cmake.subproject_options()
|
glslang_opts = cmake.subproject_options()
|
||||||
|
|
Loading…
Reference in New Issue