CMake has CMAKE_INSTALL_PREFIX variable which defaults /usr/local, but is configurable during cmake configuration stage. I think it would be nice to respect it.
This PR makes deb packages which installs all the files according to CMAKE_INSTALL_PREFIX. The default behaviour is unchanged, because CMAKE_INSTALL_PREFIX defaults to the same /usr/local previously hardcoded.
Hey,
CMake has CMAKE_INSTALL_PREFIX variable which defaults
/usr/local
, but is configurable during cmake configuration stage. I think it would be nice to respect it.This PR makes deb packages which installs all the files according to CMAKE_INSTALL_PREFIX. The default behaviour is unchanged, because CMAKE_INSTALL_PREFIX defaults to the same
/usr/local
previously hardcoded.