Skip to content

Commit f802f06

Browse files
committed
Fallback to python3 installed via homebrew
1 parent 40e5be5 commit f802f06

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

3rdparty/pyotherside.pri

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ win32* {
55
INCLUDEPATH += C:\Python37-x64\include\
66
} else {
77
unix:macx {
8-
PYTHON_CONFIG = $$PWD/python-3/bin/python3-config
8+
exists($$PWD/python-3/bin/python3-config) {
9+
PYTHON_CONFIG = $$PWD/python-3/bin/python3-config
10+
} else {
11+
PYTHON_CONFIG = /usr/local/bin/python3-config
12+
}
913
} else {
1014
PYTHON_CONFIG = python3-config
1115
}

0 commit comments

Comments
 (0)