VERSION file installed in wrong location since 6.6.1
Description
In OTB 6.6.1 the VERSION file is installed in the wrong location, it used to be installed in the same location as the LICENSE file (${OTB_INSTALL_DOC_DIR}
):
-- Installing: /build/otb-6.6.1+dfsg/debian/tmp/usr/share/doc/otb/LICENSE
-- Installing: /build/otb-6.6.1+dfsg/debian/tmp/build/otb-6.6.1+dfsg/obj-x86_64-linux-gnu/share/otb/VERSION
Steps to reproduce
Build OTB 6.6.1 with these CMake flags:
CMAKE_FLAGS = \
-DBUILD_EXAMPLES:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DBUILD_TESTING:BOOL=OFF \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DOTB_INSTALL_ARCHIVE_DIR:STRING=lib/$(DEB_HOST_MULTIARCH) \
-DOTB_INSTALL_LIBRARY_DIR:STRING=lib/$(DEB_HOST_MULTIARCH) \
-DOTB_USE_6S:BOOL=OFF \
-DOTB_USE_CURL:BOOL=ON \
-DOTB_USE_GLEW:BOOL=ON \
-DOTB_USE_GLFW:BOOL=ON \
-DOTB_USE_LIBKML:BOOL=ON \
-DOTB_USE_LIBSVM:BOOL=ON \
-DOTB_USE_MAPNIK:BOOL=OFF \
-DOTB_USE_MUPARSER:BOOL=ON \
-DOTB_USE_MUPARSERX:BOOL=OFF \
-DOTB_USE_OPENCV:BOOL=ON \
-DOTB_USE_OPENGL:BOOL=ON \
-DOTB_USE_QT:BOOL=ON \
-DOTB_USE_QWT:BOOL=ON \
-DOTB_WRAP_PYTHON:BOOL=ON \
-DOTB_WRAP_PYTHON3:BOOL=ON
Configuration information
Debian unstable, OTB 6.6.1.