]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
*** empty log message ***
authoradam <adam>
Mon, 25 May 2009 12:25:15 +0000 (12:25 +0000)
committeradam <adam>
Mon, 25 May 2009 12:25:15 +0000 (12:25 +0000)
adm_local/cmake_files/FindSIPPYQT.cmake

index 126341ea8489bf82c42c2b3ba0b6ecd7f8a7bdd1..761fbb15d0651ecbe747238f55f6b6ee21bc3837 100644 (file)
@@ -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})