diff --git a/ci/configure.py b/ci/configure.py
index bdecb85a72a85d6e5b6b7cbadd6f6682dbbb1798..273d0c537b5a5759c9dc743961f8a4dd31a77d5d 100755
--- a/ci/configure.py
+++ b/ci/configure.py
@@ -3,6 +3,7 @@
 from os import environ as env
 from subprocess import check_call
 from pathlib import Path
+from platform import system
 
 
 def define(key: str, value: str):
@@ -12,6 +13,12 @@ def define(key: str, value: str):
 def define_env(name: str):
     return define(name, env[name]) if name in env else []
 
+def with_egl():
+    if system() == "Linux":
+        return True
+    else:
+        return False
+
 
 if __name__ == "__main__":
     command = ["cmake"]
@@ -24,5 +31,7 @@ if __name__ == "__main__":
     command += define("CMAKE_SUPPRESS_REGENERATION", "ON")
     command += define("CMAKE_SKIP_PACKAGE_ALL_DEPENDENCY", "ON")
     command += define_env("VCPKG_TARGET_TRIPLET")
+    if with_egl():
+        command += define("WITH_EGL", "ON")
 
     check_call(command)