Closed nohal closed 4 years ago
If PREFIX is set, CMAKE_INSTALL_PREFIX is already modified by https://github.com/bdbcat/oesenc_pi/blob/master/CMakeLists.txt#L43, setting it to /bin by default is wrong and not in line with what is used everywhere else.
PREFIX
CMAKE_INSTALL_PREFIX
/bin
This should not be an issue for packaging neither as debhelper sets CMAKE_INSTALL_PREFIX to /bin automagically when it packages a cmake project on Launchpad.
@nohal: I concur. CMAKE_INSTALL_PREFIX should be possible to set by users.
Filed #77, which is this fix + related updates to the ci scripts.
If
PREFIX
is set,CMAKE_INSTALL_PREFIX
is already modified by https://github.com/bdbcat/oesenc_pi/blob/master/CMakeLists.txt#L43, setting it to/bin
by default is wrong and not in line with what is used everywhere else.This should not be an issue for packaging neither as debhelper sets
CMAKE_INSTALL_PREFIX
to/bin
automagically when it packages a cmake project on Launchpad.