]> SALOME platform Git repositories - tools/configuration.git/commitdiff
Salome HOME
[bos #32481] [CEA] PyQt5 qobject.sip detection Fedora 36
authorjfa <jfa@opencascade.com>
Tue, 11 Oct 2022 09:12:37 +0000 (12:12 +0300)
committerjfa <jfa@opencascade.com>
Tue, 11 Oct 2022 09:12:37 +0000 (12:12 +0300)
cmake/FindPyQt5.cmake

index 3cdcb8e3e232835763562269c78848cbdd82ebd0..c64900fffbf63504c287a3754287b50b0252a405 100644 (file)
@@ -56,7 +56,7 @@ GET_FILENAME_COMPONENT(_tmp_ROOT_DIR "${_tmp_ROOT_DIR}" PATH)
 #   - /usr/share/sip/PyQt5/QtCore, for a system install
 #   - or <xyz>/sip/QtCore, for a custom install
 #   - or <xyz>/share/sip/QtCore, for a custom install
-FIND_FILE(PYQT_SIP_MAIN_FILE qobject.sip PATH_SUFFIXES share/sip/QtCore sip/QtCore share/sip/PyQt5/QtCore lib/python3/dist-packages/PyQt5/bindings/QtCore)
+FIND_FILE(PYQT_SIP_MAIN_FILE qobject.sip PATH_SUFFIXES share/sip/QtCore sip/QtCore share/sip/PyQt5/QtCore lib/python3/dist-packages/PyQt5/bindings/QtCore lib64/python3.10/site-packages/PyQt5/bindings/QtCore)
 
 IF(PYQT_SIP_MAIN_FILE)
   GET_FILENAME_COMPONENT(PYQT_SIPS_DIR "${PYQT_SIP_MAIN_FILE}" PATH)