|
|
|
|
@ -112,12 +112,12 @@ if(TRUE)#NOT ${WIN32})
|
|
|
|
|
message( STATUS "System appears to be little endian.")
|
|
|
|
|
add_compile_options(-DLittleEndian)
|
|
|
|
|
endif()
|
|
|
|
|
include(CheckTypeSize)
|
|
|
|
|
CHECK_TYPE_SIZE("void *" VOID_P_SIZE LANGUAGE C)
|
|
|
|
|
if(${VOID_P_SIZE} EQUAL 8)
|
|
|
|
|
add_compile_options(-DPtr64Bits)
|
|
|
|
|
endif()
|
|
|
|
|
message(STATUS "Have 64bit pointers")
|
|
|
|
|
# include(CheckTypeSize)
|
|
|
|
|
# CHECK_TYPE_SIZE("void *" VOID_P_SIZE LANGUAGE C)
|
|
|
|
|
# if(${VOID_P_SIZE} EQUAL 8)
|
|
|
|
|
# add_compile_options(-DPtr64Bits)
|
|
|
|
|
# endif()
|
|
|
|
|
# message(STATUS "Have 64bit pointers")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|