Salome HOME
Ensure cmake_build_type is used in SALOME 9.12.0
[tools/sat_salome.git] / products / patches / SPNS-29988-CONFIGURATION-V9_9_0.patch
1 diff --git a/cmake/FindPyQt5.cmake b/cmake/FindPyQt5.cmake
2 index 3cdcb8e..565e594 100644
3 --- a/cmake/FindPyQt5.cmake
4 +++ b/cmake/FindPyQt5.cmake
5 @@ -56,7 +56,7 @@ GET_FILENAME_COMPONENT(_tmp_ROOT_DIR "${_tmp_ROOT_DIR}" PATH)
6  #   - /usr/share/sip/PyQt5/QtCore, for a system install
7  #   - or <xyz>/sip/QtCore, for a custom install
8  #   - or <xyz>/share/sip/QtCore, for a custom install
9 -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)
10 +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)
11  
12  IF(PYQT_SIP_MAIN_FILE)
13    GET_FILENAME_COMPONENT(PYQT_SIPS_DIR "${PYQT_SIP_MAIN_FILE}" PATH)