diff --git a/Packaging/CMakeLists.txt b/Packaging/CMakeLists.txt index ca735ac2a31163959094441a3163fc86f3f2a9d3..18b1b9fc8b6526fc428792bf663d1a974a771ee9 100644 --- a/Packaging/CMakeLists.txt +++ b/Packaging/CMakeLists.txt @@ -136,7 +136,6 @@ include(cleanup_package) include(install_include_dirs) include(install_importlibs) include(install_python_bindings) -include(install_java_bindings) include(install_share_dirs) include(install_cmake_files) include(install_qtdev_files) diff --git a/Packaging/install_java_bindings.cmake b/Packaging/install_java_bindings.cmake deleted file mode 100644 index 0c9d9358b042a3f16f7f8b1c2441ff8f421ca41e..0000000000000000000000000000000000000000 --- a/Packaging/install_java_bindings.cmake +++ /dev/null @@ -1,27 +0,0 @@ -# -# Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) -# -# This file is part of Orfeo Toolbox -# -# https://www.orfeo-toolbox.org/ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -function(install_java_bindings) - if(HAVE_JAVA) - install(FILES ${SUPERBUILD_INSTALL_DIR}/lib/otb/java/org.otb.application.jar - DESTINATION ${PKG_STAGE_DIR}/lib/java - ) - endif() -endfunction()