Changeset 488 for branches


Ignore:
Timestamp:
03/27/14 15:57:01 (5 years ago)
Author:
jls17
Message:
  • added endianess detection to provide the correct setup to rapidjson (e.g. on Solaris Sparc)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/work_304/CMakeLists.txt

    r484 r488  
    5959        SET(ARINSIDE_TARGET_ARCHITECTURE ${CMAKE_SIZEOF_VOID_P}) 
    6060ENDIF(NOT DEFINED ARINSIDE_TARGET_ARCHITECTURE) 
     61 
     62INCLUDE(TestBigEndian) 
     63TEST_BIG_ENDIAN(RAPIDJSON_USE_BIG_ENDIAN) 
     64IF(${RAPIDJSON_USE_BIG_ENDIAN}) 
     65     ADD_DEFINITIONS(-DRAPIDJSON_ENDIAN=1) 
     66ENDIF(${RAPIDJSON_USE_BIG_ENDIAN}) 
    6167 
    6268INCLUDE_DIRECTORIES(${AR_INCLUDE_PATH}/include thirdparty/ ./ ${ZLIB_INCLUDE_PATH}/include) 
Note: See TracChangeset for help on using the changeset viewer.