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:
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user