Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
10.6.x.x (relative to 10.6.2.0)
========

Build
-----

- SConstruct :
- Added `INCLUDE_PATHS` option.

10.6.2.0 (relative to 10.6.1.0)
========
Expand Down
8 changes: 8 additions & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,11 @@ o.Add(
BoolVariable( "INSTALL_CREATE_SYMLINKS", "Whether to create symlinks post install", True )
)

o.Add(
"INCLUDE_PATHS",
"Additional locations on which to search for include files for the dependencies.",
[],
)

# Test options

Expand Down Expand Up @@ -803,6 +808,9 @@ dependencyIncludes = [
systemIncludeArgument, "$FREETYPE_INCLUDE_PATH",
]

for path in env.get( "INCLUDE_PATHS" ) :
dependencyIncludes.extend( [ systemIncludeArgument, path ] )

env.Prepend(
LIBPATH = [
"./lib",
Expand Down
Loading