Installed version of MOAB is missing targets file.
When we do an install of MOAB into the superbuild install directory we fail to install the targets file in the proper location.
The cmb_superbuild/build/install/lib/cmake/MOAB
contains the following:
- MOABConfig.cmake
When we look at MOABConfig.cmake
it has the following logic:
# Library and include defs
get_filename_component(MOAB_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
if(NOT TARGET MOAB AND NOT MOAB_BINARY_DIR)
include("${MOAB_CMAKE_DIR}/MOABTargets.cmake")
endif()
This fails as MOABTargets.cmake
is never installed ( or at least I can't find where it is installed )