Perhaps the answer is simple: Always use relative paths in install commands. When calling make install, CMAKE_INSTALL_PREFIX will be prepended automatically.
Perhaps the answer is simple: Always use relative paths in install commands. When calling make install, CMAKE_INSTALL_PREFIX will be prepended automatically.