1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-07 07:55:04 -05:00

Fixed GhostRider build.

This commit is contained in:
XMRig
2022-08-07 21:21:36 +07:00
parent 571bc798f4
commit f99554858b
3 changed files with 4 additions and 7 deletions

View File

@@ -1,8 +1,4 @@
if (WITH_GHOSTRIDER)
add_definitions(/DXMRIG_ALGO_GHOSTRIDER)
add_subdirectory(src/crypto/ghostrider)
set(GHOSTRIDER_LIBRARY ghostrider)
else()
remove_definitions(/DXMRIG_ALGO_GHOSTRIDER)
set(GHOSTRIDER_LIBRARY "")
list(APPEND LIBS ghostrider)
endif()