Skip to content

Commit

Permalink
Merge 0028527 into bf256b2
Browse files Browse the repository at this point in the history
  • Loading branch information
micbou committed Jan 21, 2016
2 parents bf256b2 + 0028527 commit e6589b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import subprocess
import os.path as p
import sys
import shlex

major, minor = sys.version_info[ 0 : 2 ]
if major != 2 or minor < 6:
Expand Down Expand Up @@ -219,7 +220,8 @@ def GetCmakeArgs( parsed_args ):
cmake_args.append( '-DUSE_SYSTEM_BOOST=ON' )

extra_cmake_args = os.environ.get( 'EXTRA_CMAKE_ARGS', '' )
cmake_args.extend( extra_cmake_args.split() )
# We use shlex split to properly parse quoted CMake arguments.
cmake_args.extend( shlex.split( extra_cmake_args ) )
return cmake_args


Expand Down

0 comments on commit e6589b1

Please sign in to comment.