summaryrefslogtreecommitdiffstats
path: root/PCbuild/build.bat
diff options
context:
space:
mode:
Diffstat (limited to 'PCbuild/build.bat')
-rw-r--r--PCbuild/build.bat4
1 files changed, 3 insertions, 1 deletions
diff --git a/PCbuild/build.bat b/PCbuild/build.bat
index 30f209f..2c41fb2 100644
--- a/PCbuild/build.bat
+++ b/PCbuild/build.bat
@@ -66,7 +66,7 @@ if "%~1"=="-V" shift & goto Version
rem These use the actual property names used by MSBuild. We could just let
rem them in through the environment, but we specify them on the command line
rem anyway for visibility so set defaults after this
-if "%~1"=="-e" (set IncludeExternals=true) & call "%dir%get_externals.bat" & shift & goto CheckOpts
+if "%~1"=="-e" (set IncludeExternals=true) & shift & goto CheckOpts
if "%~1"=="--no-ssl" (set IncludeSSL=false) & shift & goto CheckOpts
if "%~1"=="--no-tkinter" (set IncludeTkinter=false) & shift & goto CheckOpts
@@ -74,6 +74,8 @@ if "%IncludeExternals%"=="" set IncludeExternals=false
if "%IncludeSSL%"=="" set IncludeSSL=true
if "%IncludeTkinter%"=="" set IncludeTkinter=true
+if "%IncludeExternals%"=="true" call "%dir%get_externals.bat"
+
if "%platf%"=="x64" (set vs_platf=x86_amd64)
rem Setup the environment