Definition of USE_PYTHON3 is no longer needed.
# 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})
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})
# 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})