Skip to content
Snippets Groups Projects
Commit d03c5393 authored by Alam Ed Arias's avatar Alam Ed Arias
Browse files

Update CMakeLists.txt, remove CMAKE_SIZEOF_VOID_P check

parent cd39b951
No related branches found
No related tags found
No related merge requests found
......@@ -54,14 +54,6 @@ macro(copy_files_to_build_dir target dlllist_var)
endif()
endmacro()
# 64-bit check
if(${CMAKE_SIZEOF_VOID_P} EQUAL 8)
message(STATUS "Target is 64-bit")
set(SRB2_SYSTEM_BITS 64)
else()
set(SRB2_SYSTEM_BITS 32)
endif()
# OS macros
if (UNIX)
add_definitions(-DUNIXCOMMON)
......@@ -73,9 +65,6 @@ endif()
if(${CMAKE_SYSTEM} MATCHES "Linux")
add_definitions(-DLINUX)
if(${SRB2_SYSTEM_BITS} EQUAL 64)
add_definitions(-DLINUX64)
endif()
endif()
if(${CMAKE_SYSTEM} MATCHES "Darwin")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment