Better scripts/build.*.sh compatibility.
This commit is contained in:
parent
879e160ba3
commit
4b682b6633
8 changed files with 33 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
|||
if (BUILD_STATIC AND XMRIG_OS_LINUX AND WITH_CUDA)
|
||||
if (BUILD_STATIC AND XMRIG_OS_UNIX AND WITH_CUDA)
|
||||
message(WARNING "CUDA backend is not compatible with static build, use -DWITH_CUDA=OFF to suppress this warning")
|
||||
|
||||
set(WITH_CUDA OFF)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
if (BUILD_STATIC AND XMRIG_OS_LINUX AND WITH_OPENCL)
|
||||
if (BUILD_STATIC AND XMRIG_OS_UNIX AND WITH_OPENCL)
|
||||
message(WARNING "OpenCL backend is not compatible with static build, use -DWITH_OPENCL=OFF to suppress this warning")
|
||||
|
||||
set(WITH_OPENCL OFF)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue