mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-16 11:55:39 +00:00
xrt: Expose XRT_HAVE_WAYLAND and XRT_HAVE_WAYLAND_DIRECT
This commit is contained in:
parent
a58b8df4a9
commit
f1f4dd7c8a
|
@ -111,6 +111,14 @@ if slam.found() and build_tracking
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if build_wayland
|
||||||
|
have_conf.set('XRT_HAVE_WAYLAND', true)
|
||||||
|
endif
|
||||||
|
|
||||||
|
if build_wayland_direct
|
||||||
|
have_conf.set('XRT_HAVE_WAYLAND_DIRECT', true)
|
||||||
|
endif
|
||||||
|
|
||||||
xrt_config_have_h = configure_file(
|
xrt_config_have_h = configure_file(
|
||||||
output: 'xrt_config_have.h',
|
output: 'xrt_config_have.h',
|
||||||
configuration: have_conf,
|
configuration: have_conf,
|
||||||
|
|
|
@ -28,3 +28,5 @@
|
||||||
#cmakedefine XRT_HAVE_PERCETTO
|
#cmakedefine XRT_HAVE_PERCETTO
|
||||||
#cmakedefine XRT_HAVE_KIMERA_SLAM
|
#cmakedefine XRT_HAVE_KIMERA_SLAM
|
||||||
#cmakedefine XRT_HAVE_SLAM
|
#cmakedefine XRT_HAVE_SLAM
|
||||||
|
#cmakedefine XRT_HAVE_WAYLAND
|
||||||
|
#cmakedefine XRT_HAVE_WAYLAND_DIRECT
|
||||||
|
|
Loading…
Reference in a new issue