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.")
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()

Loading…
Cancel
Save