Open nieder opened 12 months ago
I filed PR https://github.com/sierrafoxtrot/srecord/pull/68 that fixes this issue as recommended by cmake documentation, while maintaining the default behavior when CMAKE_INSTALL_PREFIX is omitted. An identical patch has been submitted, reviewed and admitted into yocto's meta-openembedded/meta-oe layer: https://github.com/openembedded/meta-openembedded/commit/7b66ea10817f90fe4b869de7b3b04d3aa4b2714f
The install is being forced into /usr, which is often write-restricted. CMakeLists should honor $CMAKE_INSTALL_PREFIX.