Replace Xlib with xcb

This commit is contained in:
Robbert van der Helm
2020-03-17 22:08:44 +01:00
parent e2d8c0883f
commit 70ebb5d243
4 changed files with 15 additions and 6 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ bitsery_dep = subproject('bitsery').get_variable('bitsery_dep')
threads_dep = dependency('threads')
# The built in threads dependency does not know how to handle winegcc
wine_threads_dep = declare_dependency(link_args : '-lpthread')
x11_dep = dependency('x11')
xcb_dep = dependency('xcb')
include_dir = include_directories('src/include')
@@ -62,7 +62,7 @@ executable(
],
native : false,
include_directories : include_dir,
dependencies : [boost_dep, bitsery_dep, wine_threads_dep, x11_dep],
dependencies : [boost_dep, bitsery_dep, wine_threads_dep, xcb_dep],
cpp_args : compiler_options,
link_args : []
)