Modifying cmake configuration to compile and install TBB.
[dyninst.git] / cmake / endian.cmake
1 INCLUDE(TestBigEndian)
2
3 TEST_BIG_ENDIAN(BIGENDIAN)
4 if(${BIGENDIAN})
5  ADD_DEFINITIONS(-DDYNINST_BIG_ENDIAN)
6 else()
7  ADD_DEFINITIONS(-DDYNINST_LITTLE_ENDIAN)
8 endif(${BIGENDIAN})