remove Ptr64Bits compilation flag from CMake

newmatdist
Luca Pepè Sciarria 1 year ago
parent a211b1e23f
commit cea61aa0ae

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

Loading…
Cancel
Save