mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-21 17:22:24 +08:00
only build replay if tools/ exists
old-commit-hash: 01cb8d401a340462bebf788119ca9bb18b5d8093
This commit is contained in:
@@ -59,7 +59,7 @@ if arch != 'aarch64' and "BUILD_SETUP" in os.environ:
|
||||
qt_env.Program(f"qt/setup/installer_{name}", obj, LIBS=qt_libs, CPPDEFINES=d)
|
||||
|
||||
# build headless replay
|
||||
if arch == 'x86_64':
|
||||
if arch == 'x86_64' and os.path.exists(Dir("#tools/").get_abspath()):
|
||||
qt_env['CPPPATH'] += ["#tools/clib"]
|
||||
qt_env['CXXFLAGS'] += ["-Wno-deprecated-declarations"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user