mirror of
https://github.com/xmrig/xmrig-proxy.git
synced 2026-02-09 02:59:17 +08:00
Added missing XMRIG_64_BIT macro to cmake
xmrig-proxy always showed 32 bit in "ABOUT" because of this missing macro.
This commit is contained in:
@@ -43,3 +43,10 @@ elseif(XMRIG_OS_UNIX)
|
||||
add_definitions(/DXMRIG_OS_FREEBSD)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
set(XMRIG_64_BIT ON)
|
||||
add_definitions(-DXMRIG_64_BIT)
|
||||
else()
|
||||
set(XMRIG_64_BIT OFF)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user