mirror of https://github.com/xemu-project/xemu.git
meson: Drop gtk option check
This commit is contained in:
parent
abfd542891
commit
291e401897
|
@ -1944,11 +1944,7 @@ have_gtk_clipboard = get_option('gtk_clipboard').enabled()
|
||||||
# future, this may be relaxed in the future with alternative options.
|
# future, this may be relaxed in the future with alternative options.
|
||||||
require_gtk = host_os == 'linux'
|
require_gtk = host_os == 'linux'
|
||||||
|
|
||||||
if require_gtk or get_option('gtk') \
|
if require_gtk
|
||||||
.disable_auto_if(not have_system) \
|
|
||||||
.require(pixman.found(),
|
|
||||||
error_message: 'cannot enable GTK if pixman is not available') \
|
|
||||||
.allowed()
|
|
||||||
gtk = dependency('gtk+-3.0', version: '>=3.22.0',
|
gtk = dependency('gtk+-3.0', version: '>=3.22.0',
|
||||||
method: 'pkg-config',
|
method: 'pkg-config',
|
||||||
required: require_gtk or get_option('gtk'))
|
required: require_gtk or get_option('gtk'))
|
||||||
|
|
Loading…
Reference in New Issue