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

CMake: check if CMAKE_SIZEOF_VOID_P is defined on Mac?

parent 6142becb
Branches
Tags
No related merge requests found
...@@ -55,7 +55,8 @@ macro(copy_files_to_build_dir target dlllist_var) ...@@ -55,7 +55,8 @@ macro(copy_files_to_build_dir target dlllist_var)
endmacro() endmacro()
# 64-bit check # 64-bit check
if(${CMAKE_SIZEOF_VOID_P} EQUAL 8) message(STATUS "CMAKE_SIZEOF_VOID_P=" ${CMAKE_SIZEOF_VOID_P})
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
message(STATUS "Target is 64-bit") message(STATUS "Target is 64-bit")
set(SRB2_SYSTEM_BITS 64) set(SRB2_SYSTEM_BITS 64)
else() else()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment