diff options
Diffstat (limited to 'modules/openxr/SCsub')
-rw-r--r-- | modules/openxr/SCsub | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/openxr/SCsub b/modules/openxr/SCsub index 285c58a96e..77922045eb 100644 --- a/modules/openxr/SCsub +++ b/modules/openxr/SCsub @@ -24,6 +24,9 @@ elif env["platform"] == "linuxbsd": if env["x11"]: env_openxr.AppendUnique(CPPDEFINES=["XR_USE_PLATFORM_XLIB"]) + if env["wayland"]: + env_openxr.AppendUnique(CPPDEFINES=["XR_USE_PLATFORM_WAYLAND"]) + # FIXME: Review what needs to be set for Android and macOS. env_openxr.AppendUnique(CPPDEFINES=["HAVE_SECURE_GETENV"]) elif env["platform"] == "windows": |