mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-25 20:01:04 +00:00
CMake: check if CMAKE_SIZEOF_VOID_P is defined on Mac?
This commit is contained in:
parent
6142becb4d
commit
49dddf54ab
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,8 @@ macro(copy_files_to_build_dir target dlllist_var)
|
|||
endmacro()
|
||||
|
||||
# 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")
|
||||
set(SRB2_SYSTEM_BITS 64)
|
||||
else()
|
||||
|
|
Loading…
Reference in a new issue