From 01cb8d401a340462bebf788119ca9bb18b5d8093 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sat, 24 Apr 2021 09:59:10 -0700 Subject: [PATCH] only build replay if tools/ exists --- selfdrive/ui/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/SConscript b/selfdrive/ui/SConscript index 92ba34960..83b2bd67b 100644 --- a/selfdrive/ui/SConscript +++ b/selfdrive/ui/SConscript @@ -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"]