mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-02-28 00:50:43 +01:00
Use qmake6 if available
This commit is contained in:
15
Makefile
15
Makefile
@@ -5,13 +5,16 @@ else
|
||||
ifeq (GNU/Linux,$(shell uname -o))
|
||||
SYSTEM = Linux
|
||||
|
||||
QMAKE = qmake-qt5
|
||||
ifeq (, $(shell which qmake-qt5 2>/dev/null))
|
||||
ifeq (, $(shell which qmake 2>/dev/null))
|
||||
$(error "No qmake in $(PATH)")
|
||||
QMAKE = qmake6
|
||||
ifeq (, $(shell which qmake6 2>/dev/null))
|
||||
QMAKE = qmake-qt5
|
||||
ifeq (, $(shell which qmake-qt5 2>/dev/null))
|
||||
ifeq (, $(shell which qmake 2>/dev/null))
|
||||
$(error "No qmake in $(PATH)")
|
||||
endif
|
||||
QMAKE = qmake
|
||||
endif
|
||||
endif
|
||||
QMAKE = qmake
|
||||
endif
|
||||
else
|
||||
$(error "Unknown system")
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user