diff --git a/Changes b/Changes index dd7b31f313..1124d3d3a2 100644 --- a/Changes +++ b/Changes @@ -6,6 +6,11 @@ Fixes - Boost : Fixed compatibility with Boost 1.85. +Build +----- + +- SConstruct : Added `INCLUDE_PATHS` option. + 10.6.2.0 (relative to 10.6.1.0) ======== diff --git a/SConstruct b/SConstruct index abc89545da..ddba6ab371 100644 --- a/SConstruct +++ b/SConstruct @@ -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 @@ -803,6 +808,9 @@ dependencyIncludes = [ systemIncludeArgument, "$FREETYPE_INCLUDE_PATH", ] +for path in env.get( "INCLUDE_PATHS" ) : + dependencyIncludes.extend( [ systemIncludeArgument, path ] ) + env.Prepend( LIBPATH = [ "./lib",