cmake HAVE_ENDIAN_CONVERSION examples

mapcrafter/mapcrafter src/mapcraftercore/CMakeLists.txt :23

CHECK_CXX_SOURCE_COMPILES("#include <sys/endian.h>\n int main() { be16toh(42); be32toh(73); be64toh(21); }" HAVE_ENDIAN_CONVERSION)

mapcrafter/mapcrafter src/mapcraftercore/CMakeLists.txt :25

CHECK_CXX_SOURCE_COMPILES("#include <endian.h>\n int main() { be16toh(42); be32toh(73); be64toh(21); }" HAVE_ENDIAN_CONVERSION)