Testing build error with OTB_USE_LIBSVM=OFF
Description
Testing builds fail with OTB_USE_LIBSVM=OFF
Configuration information
Ubuntu 18.04, non-SuperBuild.
BUILD_EXAMPLES ON
BUILD_SHARED_LIBS ON
BUILD_TESTING ON
Boost_USE_MULTITHREADED ON
Boost_USE_STATIC_LIBS OFF
CMAKE_BUILD_TYPE Release
CMAKE_INSTALL_PREFIX /otb-install
OPENCV_core_LIBRARY /usr/lib/x86_64-linux-gnu/libopencv_core.so
OPENCV_ml_LIBRARY /usr/lib/x86_64-linux-gnu/libopencv_ml.so
OTB_BUILD_DEFAULT_MODULES ON
OTB_DATA_ROOT OTB_DATA_ROOT-NOTFOUND
OTB_I18N_MERGE_TS OFF
OTB_USE_6S ON
OTB_USE_CURL ON
OTB_USE_GLEW OFF
OTB_USE_GLFW OFF
OTB_USE_GLUT OFF
OTB_USE_GSL OFF
OTB_USE_LIBKML OFF
OTB_USE_LIBSVM OFF
OTB_USE_MAPNIK OFF
OTB_USE_MPI OFF
OTB_USE_MUPARSER ON
OTB_USE_MUPARSERX OFF
OTB_USE_OPENCV ON
OTB_USE_OPENGL OFF
OTB_USE_OPENMP OFF
OTB_USE_QT OFF
OTB_USE_QWT OFF
OTB_USE_SHARK OFF
OTB_USE_SIFTFAST OFF
OTB_USE_SPTW OFF
OTB_USE_SSE_FLAGS ON
OTB_WRAP_JAVA OFF
OTB_WRAP_PYTHON OFF
OTB_WRAP_PYTHON3 OFF
opencv_INCLUDE_DIR /usr/include
In file included from /otb/Modules/Learning/Supervised/test/otbLabelMapClassifier.cxx:34:0:
/otb/Modules/Learning/Supervised/include/otbLibSVMMachineLearningModel.h:28:10: fatal error: svm.h: No such file or directory
#include "svm.h"
^~~~~~~
compilation terminated.
Modules/Learning/Supervised/test/CMakeFiles/otbSupervisedTestDriver.dir/build.make:278: recipe for target 'Modules/Learning/Supervised/test/CMakeFiles/otbSupervisedTestDriver.dir/otbLabelMapClassifier.cxx.o' failed
make[2]: *** [Modules/Learning/Supervised/test/CMakeFiles/otbSupervisedTestDriver.dir/otbLabelMapClassifier.cxx.o] Error 1
CMakeFiles/Makefile2:32204: recipe for target 'Modules/Learning/Supervised/test/CMakeFiles/otbSupervisedTestDriver.dir/all' failed
make[1]: *** [Modules/Learning/Supervised/test/CMakeFiles/otbSupervisedTestDriver.dir/all] Error 2