]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
BUG: GUI/CMake files: Adrien Bruneton : Fixed missing path for searching of QtCore.sip
authorrnc <rnc@opencascade.com>
Wed, 3 Jul 2013 09:27:15 +0000 (09:27 +0000)
committerrnc <rnc@opencascade.com>
Wed, 3 Jul 2013 09:27:15 +0000 (09:27 +0000)
adm_local/cmake_files/FindPyQt4.cmake

index 821ce3b34448ae5c87eda48d19008ab36b4b82c2..ac8df0052e90e097459c5bef0c89982e5b8e9111 100644 (file)
@@ -51,7 +51,8 @@ GET_FILENAME_COMPONENT(_tmp_ROOT_DIR "${_tmp_ROOT_DIR}" PATH)
 # Typical location of qobject.sip are: 
 #   - /usr/share/sip/PyQt4/QtCore, for a system install
 #   - or <xyz>/sip/QtCore, for a custom install
-FIND_FILE(PYQT_SIP_MAIN_FILE qobject.sip PATH_SUFFIXES sip/QtCore share/sip/PyQt4/QtCore)
+#   - 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/PyQt4/QtCore)
 
 IF(PYQT_SIP_MAIN_FILE)
   GET_FILENAME_COMPONENT(PYQT_SIPS_DIR "${PYQT_SIP_MAIN_FILE}" PATH)