File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1110.6.x.x (relative to 10.6.0.1)
22========
33
4+ Build
5+ -----
6+
7+ - SConstruct : Added `BOOST_CMAKE` option to support Boost that was built with CMake.
8+
49API
510---
611
Original file line number Diff line number Diff line change @@ -178,6 +178,10 @@ o.Add(
178178 "likely related to the specific python version." ,
179179)
180180
181+ o .Add (
182+ BoolVariable ( "BOOST_CMAKE" , "Enable this if Boost was built with CMake" , False )
183+ )
184+
181185# OpenEXR options
182186
183187o .Add (
@@ -1090,16 +1094,15 @@ if doConfigure :
10901094
10911095 env .Append ( LIBS = [
10921096 "boost_filesystem" + env ["BOOST_LIB_SUFFIX" ],
1093- "boost_regex" + env ["BOOST_LIB_SUFFIX" ],
10941097 "boost_iostreams" + env ["BOOST_LIB_SUFFIX" ],
10951098 "boost_date_time" + env ["BOOST_LIB_SUFFIX" ],
10961099 "boost_thread" + env ["BOOST_LIB_SUFFIX" ],
10971100 "boost_timer" + env ["BOOST_LIB_SUFFIX" ],
10981101 "boost_chrono" + env ["BOOST_LIB_SUFFIX" ]
1099- ]
1102+ ] + [ "boost_regex" + env [ "BOOST_LIB_SUFFIX" ]] if not env [ "BOOST_CMAKE" ] else []
11001103 )
11011104
1102- if int ( env ["BOOST_MINOR_VERSION" ] ) >= 35 :
1105+ if int ( env ["BOOST_MINOR_VERSION" ] ) >= 35 and not env [ "BOOST_CMAKE" ] :
11031106 env .Append ( LIBS = [ "boost_system" + env ["BOOST_LIB_SUFFIX" ] ] )
11041107
11051108 c = configureSharedLibrary ( env )
You can’t perform that action at this time.
0 commit comments