Missing cmake files in OTB package
Description
When building a remote module from an OTB package, there are missing CMake files to use the ENABLE_SHARED
option. This happens in standalone mode.
The file missing are GenerateExportHeaderCustom.cmake
and exportheader.cmake.in
. Also there is a missing include in the OTBStandaloneModuleMacros.cmake
.
Steps to reproduce
Take a remote modules with a library (files in src/
folder). Declare the ENABLE_SHARED
option in the module definition otb-module.cmake
. Build this module with a standalone package, and the option OTB_BUILD_MODULE_AS_STANDALONE
. The configure should fail when generating export headers.
Configuration information
OTB 6.6.1 and 6.7.0.