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.
|
||||
require_gtk = host_os == 'linux'
|
||||
|
||||
if require_gtk or get_option('gtk') \
|
||||
.disable_auto_if(not have_system) \
|
||||
.require(pixman.found(),
|
||||
error_message: 'cannot enable GTK if pixman is not available') \
|
||||
.allowed()
|
||||
if require_gtk
|
||||
gtk = dependency('gtk+-3.0', version: '>=3.22.0',
|
||||
method: 'pkg-config',
|
||||
required: require_gtk or get_option('gtk'))
|
||||
|
|
Loading…
Reference in New Issue