]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
[PY3] Update with branch gdd/py3 for Medcoupling
authorGilles DAVID <gilles-g.david@edf.fr>
Wed, 26 Apr 2017 06:43:45 +0000 (08:43 +0200)
committerGilles DAVID <gilles-g.david@edf.fr>
Wed, 26 Apr 2017 06:43:48 +0000 (08:43 +0200)
Definition of USE_PYTHON3 is no longer needed.

src/MEDCalculator/Swig/CMakeLists.txt
src/MEDCouplingCorba_Swig/CMakeLists.txt
src/MEDCouplingCorba_Swig/Client/CMakeLists.txt

index 8833bb745ce0cde247c6353f010673f943fa4792..9e2aa50be6e6fd54c1a6888515af818bcfc70fce 100644 (file)
@@ -19,9 +19,6 @@
 # Author : Anthony Geay (CEA/DEN)
 
 ADD_DEFINITIONS(${PYTHON_DEFINITIONS} ${NUMPY_DEFINITIONS} ${SCIPY_DEFINITIONS})
-IF ("${PYTHON_VERSION_MAJOR}" STREQUAL "3")
-  ADD_DEFINITIONS(-DUSE_PYTHON3)
-ENDIF()
 
 FIND_PACKAGE(SWIG REQUIRED)
 INCLUDE(${SWIG_USE_FILE})
index 8d9c2ae3401f5323fa718e51404a7a7402a7d400..9a9dfeb74c5d1717605e05cd2ed13bf67dc77871 100644 (file)
@@ -21,9 +21,6 @@
 ADD_SUBDIRECTORY(Client)
 
 ADD_DEFINITIONS(${PYTHON_DEFINITIONS} ${OMNIORB_DEFINITIONS} ${NUMPY_DEFINITIONS} ${SCIPY_DEFINITIONS})
-IF ("${PYTHON_VERSION_MAJOR}" STREQUAL "3")
-  ADD_DEFINITIONS(-DUSE_PYTHON3)
-ENDIF()
 
 FIND_PACKAGE(SWIG REQUIRED)
 INCLUDE(${SWIG_USE_FILE})
index fd974c1575218236463d3f8cc33448427f6745be..9bac858be656ba1412848dfe20342386ba199588 100644 (file)
@@ -19,9 +19,6 @@
 # Author : Anthony Geay (CEA/DEN)
 
 ADD_DEFINITIONS(${PYTHON_DEFINITIONS} ${OMNIORB_DEFINITIONS} ${NUMPY_DEFINITIONS} ${SCIPY_DEFINITIONS})
-IF ("${PYTHON_VERSION_MAJOR}" STREQUAL "3")
-  ADD_DEFINITIONS(-DUSE_PYTHON3)
-ENDIF()
 
 FIND_PACKAGE(SWIG REQUIRED)
 INCLUDE(${SWIG_USE_FILE})