From cdcdacef9c5f68fadfd7c25231a0c1405f0f8d69 Mon Sep 17 00:00:00 2001 From: vitaut Date: Fri, 7 Aug 2015 07:21:43 -0700 Subject: [PATCH] Handle undefined $PLATFORM --- support/appveyor-build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/appveyor-build.py b/support/appveyor-build.py index 9a0abb18..4967ae3b 100755 --- a/support/appveyor-build.py +++ b/support/appveyor-build.py @@ -6,7 +6,7 @@ from subprocess import check_call build = os.environ['BUILD'] config = os.environ['CONFIGURATION'] -platform = os.environ['PLATFORM'] +platform = os.environ.get('PLATFORM') path = os.environ['PATH'] cmake_command = ['cmake', '-DFMT_PEDANTIC=ON', '-DCMAKE_BUILD_TYPE=' + config] if build == 'mingw':