mirror of
https://github.com/xmrig/xmrig.git
synced 2024-10-30 13:07:46 +00:00
9 lines
243 B
CMake
9 lines
243 B
CMake
|
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 "")
|
||
|
endif()
|