Disable cn/gpu for 32bit builds.

This commit is contained in:
XMRig
2019-02-03 16:49:17 +07:00
parent a46b3296bd
commit 4ab71a87f1

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)