Skip to content

Commit 316bfba

Browse files
salkiniumrleh
authored andcommitted
[build] Fix missing local include path
1 parent 324a3c2 commit 316bfba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tools/build_script_generator/make/resources/config.mk.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ APP_SRC := $(APP_SRC:./%=%)
5757
%% for repo in generated_paths
5858
APP_SRC := $(filter-out {{repo}}/%,$(APP_SRC))
5959
%% endfor
60+
CPPDEFINES += -I.
6061
%% if options["::info.git"] != "Disabled"
6162
%#
6263
# Git information

tools/build_script_generator/scons/resources/SConstruct.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ env.Alias("library", libraries)
2929
headers = env.FindHeaderFiles("{{ unittest_source }}")
3030
sources = [env.UnittestRunner(target="unittest_runner.cpp", source=headers)]
3131
%% else
32-
env.Append(CPPPATH=".")
32+
env.Append(CPPPATH=abspath("."))
3333
ignored = [".lbuild_cache", env["CONFIG_BUILD_BASE"]] + generated_paths
3434
sources = []
3535
%% endif

0 commit comments

Comments
 (0)