Salome HOME
activate pytel
[modules/hydrosolver.git] / src / salome_hydro / pytel / CMakeLists.txt
old mode 100644 (file)
new mode 100755 (executable)
index 0620de6..1c5645d
@@ -17,7 +17,7 @@
 
 ADD_SUBDIRECTORY(eficas)
 
-INCLUDE(UsePyQt5)
+INCLUDE(UsePyQt)
 
 # --- Python files ---
 
@@ -34,11 +34,14 @@ SET(UIFILES
   genjobwindow.ui
 )
 
+# scripts / pyuic wrappings
+PYQT_WRAP_UIC(_pyuic_SCRIPTS ${UIFILES})
+
 # --- rules ---
 
 # scripts / pyuic wrappings
-PYQT4_WRAP_UIC(PYUICFILES ${UIFILES})
 
-SET(ALLPYFILES ${PYFILES} ${PYUICFILES})
+SALOME_INSTALL_SCRIPTS("${PYFILES}" ${SALOME_INSTALL_PYTHON}/salome/hydro/pytel)
+INSTALL( FILES ${_pyuic_SCRIPTS} DESTINATION ${SALOME_INSTALL_PYTHON}/salome/hydro/pytel)
+
 
-SALOME_INSTALL_SCRIPTS("${ALLPYFILES}" ${SALOME_INSTALL_PYTHON}/salome/hydro/pytel)