Skip to content

Commit

Permalink
OpenBSD patch for PyQt5
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti authored and 3nids committed Jan 29, 2018
1 parent 4c436e5 commit 378191d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/FindPyQt5.py
Expand Up @@ -43,7 +43,9 @@
if sys.platform.startswith('freebsd'):
py_version = str(sys.version_info.major) + str(sys.version_info.minor)
sip_dir = sip_dir.replace(py_version, '')
for p in (os.path.join(sip_dir, "PyQt5"), sip_dir):
for p in (os.path.join(sip_dir, "PyQt5"),
os.path.join(sip_dir, "PyQt5-3"),
sip_dir):
if os.path.exists(os.path.join(p, "QtCore", "QtCoremod.sip")):
sip_dir = p
break
Expand Down

0 comments on commit 378191d

Please sign in to comment.