gui: fix compiler selection if CXX is empty
This commit is contained in:
parent
53002e40f6
commit
ef80aba58f
|
@ -22,8 +22,13 @@ MOC_DIR = temp
|
|||
OBJECTS_DIR = temp
|
||||
UI_DIR = temp
|
||||
|
||||
QMAKE_CC = $$(CC)
|
||||
isEmpty(QMAKE_CXX) {
|
||||
isEmpty(CXX)) {
|
||||
QMAKE_CXX = gcc
|
||||
} else {
|
||||
QMAKE_CXX = $$(CXX)
|
||||
}
|
||||
}
|
||||
|
||||
win32 {
|
||||
CONFIG += windows
|
||||
|
|
Loading…
Reference in New Issue