X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FKERNEL_PY%2FCMakeLists.txt;h=ceec5f393790f5cd2ef59fc45ce6b221a2fab7fa;hb=d1151f956567da46ee95cfd65502b55416145b66;hp=b3d4ca39e14feca6d54d8c5c74d70b2da82292f4;hpb=9749fc1db72bd80e278405114b05ffc69b5031da;p=modules%2Fkernel.git diff --git a/src/KERNEL_PY/CMakeLists.txt b/src/KERNEL_PY/CMakeLists.txt index b3d4ca39e..ceec5f393 100755 --- a/src/KERNEL_PY/CMakeLists.txt +++ b/src/KERNEL_PY/CMakeLists.txt @@ -1,9 +1,9 @@ -# Copyright (C) 2012-2013 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2012-2016 CEA/DEN, EDF R&D, OPEN CASCADE # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either -# version 2.1 of the License. +# version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -20,13 +20,10 @@ ADD_SUBDIRECTORY(kernel) SET(salomepython_PYTHON - salome_shared_modules.py - import_hook.py omnipatch.py ) -IF(SALOME_USE_CORBA) - SET(salomepython_PYTHON +SET(salomepython_PYTHON ${salomepython_PYTHON} Help.py PyInterp.py @@ -42,8 +39,6 @@ IF(SALOME_USE_CORBA) salome_pynode.py salome_genericobj.py ) -ENDIF(SALOME_USE_CORBA) -SALOME_INSTALL_SCRIPTS("${salomepython_PYTHON}" ${KERNEL_salomepythondir}) -SALOME_INSTALL_SCRIPTS(kernel_shared_modules.py ${KERNEL_sharedpkgpython_PYTHON}) -SALOME_INSTALL_SCRIPTS(__init__.py ${KERNEL_salomepythondir}/salome) +SALOME_INSTALL_SCRIPTS("${salomepython_PYTHON}" ${SALOME_INSTALL_PYTHON}) +SALOME_INSTALL_SCRIPTS(__init__.py ${SALOME_INSTALL_PYTHON}/salome)