Skip to content

Commit fe9d009

Browse files
Merge pull request #1498 from ivanimanishi/includePaths
SConstruct : Added INCLUDE_PATHS option
2 parents c8f9a55 + 83f25db commit fe9d009

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

Changes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ Fixes
66

77
- Boost : Fixed compatibility with Boost 1.85.
88

9+
Build
10+
-----
11+
12+
- SConstruct : Added `INCLUDE_PATHS` option.
13+
914
10.6.2.0 (relative to 10.6.1.0)
1015
========
1116

SConstruct

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,11 @@ o.Add(
647647
BoolVariable( "INSTALL_CREATE_SYMLINKS", "Whether to create symlinks post install", True )
648648
)
649649

650+
o.Add(
651+
"INCLUDE_PATHS",
652+
"Additional locations on which to search for include files for the dependencies.",
653+
[],
654+
)
650655

651656
# Test options
652657

@@ -803,6 +808,9 @@ dependencyIncludes = [
803808
systemIncludeArgument, "$FREETYPE_INCLUDE_PATH",
804809
]
805810

811+
for path in env.get( "INCLUDE_PATHS" ) :
812+
dependencyIncludes.extend( [ systemIncludeArgument, path ] )
813+
806814
env.Prepend(
807815
LIBPATH = [
808816
"./lib",

0 commit comments

Comments
 (0)