X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPV_SWIG%2FCMakeLists.txt;h=e77b077a950118c1cbeaf323c4293451593a198f;hb=4095225705684389c98367e7ba154be482dfd468;hp=0e26931b29361a8659a3b6d74ee87f724a1b33e3;hpb=04af0548e73803b1ed50f07c126a4ccfca847d9e;p=modules%2Fparavis.git diff --git a/src/PV_SWIG/CMakeLists.txt b/src/PV_SWIG/CMakeLists.txt index 0e26931b..e77b077a 100644 --- a/src/PV_SWIG/CMakeLists.txt +++ b/src/PV_SWIG/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2014 CEA/DEN, EDF R&D +# Copyright (C) 2010-2016 CEA/DEN, EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -25,23 +25,14 @@ IF(SALOME_LIGHT_ONLY) presentations.py ) ELSE(SALOME_LIGHT_ONLY) - IF(SALOME_PARAVIS_MINIMAL_CORBA) - # Use another set of Python files redirecting the API directly + # Use a set of Python files redirecting the API directly # to the original ParaView modules. LIST(APPEND _PYFILES_TO_INSTALL - no_wrap/pvserver.py - no_wrap/pvsimple.py - no_wrap/presentations.py - no_wrap/paravisSM.py - ) - ELSE() - LIST(APPEND _PYFILES_TO_INSTALL - paravis.py - paravisSM.py + pvserver.py pvsimple.py presentations.py + paravisSM.py ) - ENDIF() ENDIF(SALOME_LIGHT_ONLY) -INSTALL_AND_COMPILE_PYTHON_FILE("${_PYFILES_TO_INSTALL}" ${SALOME_INSTALL_PYTHON}) +SALOME_INSTALL_SCRIPTS("${_PYFILES_TO_INSTALL}" ${SALOME_INSTALL_PYTHON})