Skip to content

Commit

Permalink
Add include path for source dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vkottler committed Oct 2, 2023
1 parent 94d4435 commit f0ccba1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions yambs/dependency/handlers/yambs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ def yambs_handler(task: DependencyTask) -> DependencyState:

if task.dep.as_source:
task.source_dirs.add(src_include)
task.compile_flags.extend(
["-iquote", str(rel(src_include, base=task.root.parent))]
)

# Check if loading the project configuration data is necessary.
# Read the project's configuration data to find any nested dependencies.
Expand Down

0 comments on commit f0ccba1

Please sign in to comment.