Also accept python 3.7

pull/341/head
Michael Zanetti 2020-09-01 16:10:59 +02:00
parent bc04e455ac
commit a9ae885cfa
1 changed files with 5 additions and 0 deletions

View File

@ -11,9 +11,14 @@ CONFIG += link_pkgconfig
PKGCONFIG += nymea-mqtt nymea-networkmanager
packagesExist(python3-embed) {
# Ubuntu focal
PKGCONFIG += python3-embed
} else:packagesExist(python-3.5) {
# Ubuntu xenial
PKGCONFIG += python-3.5
} else:packagesExist(python-3.7) {
# Debian buster
PKGCONFIG += python-3.7
} else {
error("Python development package not found.")
}