Commit e2dd210c authored by Cédric Traizet's avatar Cédric Traizet

ENH: remove java wrapping from superbuild

parent cb2f6d1b
...@@ -79,7 +79,7 @@ if(OTB_USE_MUPARSERX) ...@@ -79,7 +79,7 @@ if(OTB_USE_MUPARSERX)
ADD_SUPERBUILD_CMAKE_VAR(OTB MUPARSERX_LIBRARY) ADD_SUPERBUILD_CMAKE_VAR(OTB MUPARSERX_LIBRARY)
endif() endif()
if(OTB_WRAP_PYTHON OR OTB_WRAP_JAVA) if(OTB_WRAP_PYTHON)
ADD_SUPERBUILD_CMAKE_VAR(OTB SWIG_EXECUTABLE) ADD_SUPERBUILD_CMAKE_VAR(OTB SWIG_EXECUTABLE)
ADDTO_DEPENDENCIES_IF_NOT_SYSTEM(OTB SWIG) ADDTO_DEPENDENCIES_IF_NOT_SYSTEM(OTB SWIG)
endif() endif()
...@@ -207,7 +207,6 @@ ExternalProject_Add(OTB ...@@ -207,7 +207,6 @@ ExternalProject_Add(OTB
-DOTB_USE_OPENMP:BOOL=${OTB_USE_OPENMP} -DOTB_USE_OPENMP:BOOL=${OTB_USE_OPENMP}
-DOTB_USE_GSL:BOOL=${OTB_USE_GSL} -DOTB_USE_GSL:BOOL=${OTB_USE_GSL}
-DOTB_WRAP_PYTHON:BOOL=${OTB_WRAP_PYTHON} -DOTB_WRAP_PYTHON:BOOL=${OTB_WRAP_PYTHON}
-DOTB_WRAP_JAVA:BOOL=${OTB_WRAP_JAVA}
-DOTB_USE_MPI:BOOL=${OTB_USE_MPI} -DOTB_USE_MPI:BOOL=${OTB_USE_MPI}
-DOTB_USE_SPTW:BOOL=${OTB_USE_SPTW} -DOTB_USE_SPTW:BOOL=${OTB_USE_SPTW}
-DPYTHON_EXECUTABLE:PATH=${PYTHON_EXECUTABLE} -DPYTHON_EXECUTABLE:PATH=${PYTHON_EXECUTABLE}
......
...@@ -350,7 +350,6 @@ find_path(OTB_DATA_ROOT README-OTB-Data ...@@ -350,7 +350,6 @@ find_path(OTB_DATA_ROOT README-OTB-Data
# SWIG Wrapping # SWIG Wrapping
option(OTB_WRAP_PYTHON "Enable python wrappers for OTB applications (requires SWIG)" ON) option(OTB_WRAP_PYTHON "Enable python wrappers for OTB applications (requires SWIG)" ON)
option(OTB_WRAP_JAVA "Enable java wrappers for OTB applications (requires SWIG)" OFF)
configure_file(${CMAKE_SOURCE_DIR}/CMake/CTestCustom.cmake.in configure_file(${CMAKE_SOURCE_DIR}/CMake/CTestCustom.cmake.in
${CMAKE_BINARY_DIR}/CTestCustom.cmake @ONLY) ${CMAKE_BINARY_DIR}/CTestCustom.cmake @ONLY)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment