godot/modules/camera/config.py
Volker Schlecht 54eb2799da
Fix build on OpenBSD
Like FreeBSD, OpenBSD cannot build the camera module because it uses interfaces only provided by Linux
2025-08-30 15:02:01 +02:00

10 lines
286 B
Python

def can_build(env, platform):
import sys
if sys.platform.startswith("freebsd") or sys.platform.startswith("openbsd"):
return False
return platform == "macos" or platform == "windows" or platform == "linuxbsd" or platform == "android"
def configure(env):
pass