Allow to compile the engine without XR support
This commit is contained in:
@@ -29,8 +29,10 @@ SConscript("text/SCsub")
|
||||
if not env["disable_3d"]:
|
||||
env.add_source_files(env.servers_sources, "physics_server_3d.cpp")
|
||||
env.add_source_files(env.servers_sources, "physics_server_3d_wrap_mt.cpp")
|
||||
SConscript("xr/SCsub")
|
||||
env.add_source_files(env.servers_sources, "xr_server.cpp")
|
||||
|
||||
if not env["disable_xr"]:
|
||||
env.add_source_files(env.servers_sources, "xr_server.cpp")
|
||||
SConscript("xr/SCsub")
|
||||
|
||||
lib = env.add_library("servers", env.servers_sources)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user