4
0
mirror of https://github.com/QuasarApp/QuasarAppCI.git synced 2025-05-10 04:09:36 +00:00

change method of get env

This commit is contained in:
Andrei Yankovich 2020-07-09 10:57:52 +03:00
parent a5936b2687
commit 56ce7010a3

@ -26,7 +26,8 @@ class CMake(Make):
return self.mainCmd()
def windowsXmakeCmd(self, props):
Qt = os.environ['QTDIR']
Qt = os.environ.get('QTDIR')
command = [
'cmake',
'-DCMAKE_PREFIX_PATH=' + Qt,