From: jfa Date: Tue, 11 Oct 2022 09:12:37 +0000 (+0300) Subject: [bos #32481] [CEA] PyQt5 qobject.sip detection Fedora 36 X-Git-Tag: V9_10_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=26f27bb6c0d3ddb30d1b82329d535e82ae62e3d1;p=tools%2Fconfiguration.git [bos #32481] [CEA] PyQt5 qobject.sip detection Fedora 36 --- diff --git a/cmake/FindPyQt5.cmake b/cmake/FindPyQt5.cmake index 3cdcb8e..c64900f 100644 --- a/cmake/FindPyQt5.cmake +++ b/cmake/FindPyQt5.cmake @@ -56,7 +56,7 @@ GET_FILENAME_COMPONENT(_tmp_ROOT_DIR "${_tmp_ROOT_DIR}" PATH) # - /usr/share/sip/PyQt5/QtCore, for a system install # - or /sip/QtCore, for a custom install # - or /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)