Fixed linking error

This commit is contained in:
Scott Anderson 2017-07-12 13:46:47 +12:00
parent 85805da021
commit c81324bd0b

View File

@ -8,11 +8,21 @@ all_libs = [
lib_wlr, lib_wlr,
] ]
executable('simple', 'simple.c', link_with: all_libs) executable('simple', 'simple.c',
executable('rotation', 'rotation.c', link_with: all_libs) dependencies: dep_wlr,
executable('pointer', 'pointer.c', link_with: all_libs) link_with: all_libs)
executable('touch', 'touch.c', link_with: all_libs) executable('rotation', 'rotation.c',
executable('tablet', 'tablet.c', link_with: all_libs) dependencies: dep_wlr,
link_with: all_libs)
executable('pointer', 'pointer.c',
dependencies: dep_wlr,
link_with: all_libs)
executable('touch', 'touch.c',
dependencies: dep_wlr,
link_with: all_libs)
executable('tablet', 'tablet.c',
dependencies: dep_wlr,
link_with: all_libs)
compositor_src = [ compositor_src = [
'compositor/main.c', 'compositor/main.c',
@ -20,4 +30,6 @@ compositor_src = [
'compositor/wl_shell.c', 'compositor/wl_shell.c',
] ]
executable('compositor', compositor_src, link_with: all_libs) executable('compositor', compositor_src,
dependencies: dep_wlr,
link_with: all_libs)