move cmake endianess detection to proper place and actually USE it
2 files changed