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':