Fixed GhostRider build.

This commit is contained in:
XMRig 2022-08-07 21:21:36 +07:00
parent 571bc798f4
commit f99554858b
No known key found for this signature in database
GPG key ID: 446A53638BE94409
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()