remove Ptr64Bits compilation flag from CMake

This commit is contained in:
Luca Pepè Sciarria
2025-03-28 14:14:30 +01:00
parent a211b1e23f
commit cea61aa0ae
+6 -6
View File
@@ -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()