Skip to content

Commit

Permalink
[build] Fix missing local include path
Browse files Browse the repository at this point in the history
  • Loading branch information
salkinium authored and rleh committed Apr 5, 2021
1 parent b4dfd8f commit ecd176c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tools/build_script_generator/make/resources/config.mk.in
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ APP_SRC := $(APP_SRC:./%=%)
%% for repo in generated_paths
APP_SRC := $(filter-out {{repo}}/%,$(APP_SRC))
%% endfor
CPPDEFINES += -I.
%% if options["::info.git"] != "Disabled"
%#
# Git information
Expand Down
2 changes: 1 addition & 1 deletion tools/build_script_generator/scons/resources/SConstruct.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env.Alias("library", libraries)
headers = env.FindHeaderFiles("{{ unittest_source }}")
sources = [env.UnittestRunner(target="unittest_runner.cpp", source=headers)]
%% else
env.Append(CPPPATH=".")
env.Append(CPPPATH=abspath("."))
ignored = [".lbuild_cache", env["CONFIG_BUILD_BASE"]] + generated_paths
sources = []
%% endif
Expand Down

0 comments on commit ecd176c

Please sign in to comment.