From: adam Date: Mon, 25 May 2009 12:25:15 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V5_1_2rc1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=69e3fe4b5e0ef6497295281267abf8c562b67c7d;p=modules%2Fgui.git *** empty log message *** --- diff --git a/adm_local/cmake_files/FindSIPPYQT.cmake b/adm_local/cmake_files/FindSIPPYQT.cmake index 126341ea8..761fbb15d 100644 --- a/adm_local/cmake_files/FindSIPPYQT.cmake +++ b/adm_local/cmake_files/FindSIPPYQT.cmake @@ -49,7 +49,11 @@ ENDIF(PYUIC_ROOT) IF(WINDOWS) SET(PYQT_SIPS ${PYUIC_ROOT}/sip) ELSE(WINDOWS) - SET(PYQT_SIPS ${PYUIC_ROOT}/share/sip) + IF(PYUIC_ROOT STREQUAL /usr) + SET(PYQT_SIPS ${PYUIC_ROOT}/share/sip/PyQt4) + ELSE(PYUIC_ROOT STREQUAL /usr) + SET(PYQT_SIPS ${PYUIC_ROOT}/share/sip) + ENDIF(PYUIC_ROOT STREQUAL /usr) ENDIF(WINDOWS) SET(PYQT_INCLUDES -I${PYQT_SIPS})