Favour Python 2 as it's more widely tested.
parent
359b1d0176
commit
e9dc1496e2
|
@ -49,12 +49,12 @@ else {
|
||||||
message(Building for Linux/Mac...)
|
message(Building for Linux/Mac...)
|
||||||
|
|
||||||
# Find and configure Python
|
# Find and configure Python
|
||||||
# Python 3?
|
# Python 2?
|
||||||
PYTHON_CONFIG = $$system(which python3-config)
|
PYTHON_CONFIG = $$system(which python-config)
|
||||||
|
|
||||||
# Maybe Python 2?
|
# Maybe Python 3?
|
||||||
isEmpty(PYTHON_CONFIG) {
|
isEmpty(PYTHON_CONFIG) {
|
||||||
PYTHON_CONFIG = $$system(which python-config)
|
PYTHON_CONFIG = $$system(which python3-config)
|
||||||
}
|
}
|
||||||
|
|
||||||
# Argh!
|
# Argh!
|
||||||
|
|
Loading…
Reference in New Issue