summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/3rdparty.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/src/3rdparty.lua')
-rwxr-xr-xscripts/src/3rdparty.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua
index 7b80101e973..dacb3a298ac 100755
--- a/scripts/src/3rdparty.lua
+++ b/scripts/src/3rdparty.lua
@@ -1469,6 +1469,11 @@ end
"BGFX_CONFIG_RENDERER_OPENGL=0",
}
end
+ if _OPTIONS["USE_WAYLAND"]=="1" then
+ defines {
+ "WL_EGL_PLATFORM=1",
+ }
+ end
end
if _OPTIONS["targetos"]=="macosx" and _OPTIONS["gcc"]~=nil then