Disable cn/gpu for 32bit builds.

This commit is contained in:
XMRig 2019-02-03 16:49:17 +07:00
parent ca18622ad0
commit e9069a381e

View file

@ -1,4 +1,4 @@
if (WITH_CN_GPU)
if (WITH_CN_GPU AND CMAKE_SIZEOF_VOID_P EQUAL 8)
set(CN_GPU_SOURCES src/crypto/cn_gpu_avx.cpp src/crypto/cn_gpu_ssse3.cpp)
if (CMAKE_CXX_COMPILER_ID MATCHES GNU)