MB-System is an open source software package for the processing and display of bathymetry and backscatter imagery data derived from multibeam, interferometry, and sidescan sonars.
The variables that set share content paths (CMAKE_INSTALL_MANPAGES, CMAKE_INSTALL_DOC, etc.)
use absolute paths to /usr/local...
This breaks cmake --install
--prefix because it tries to install the files to /usr/local... as non-root (and isn't where they are intended to go).
In this change set:
Change share content install variables to relative paths
Use appropriate destination in share/CMakeLists.txt
The variables that set share content paths (CMAKE_INSTALL_MANPAGES, CMAKE_INSTALL_DOC, etc.) use absolute paths to /usr/local... This breaks cmake --install
In this change set: Change share content install variables to relative paths Use appropriate destination in share/CMakeLists.txt
Tested on macOS Monterey and Ubuntu 22.04