xmrig-C3/cmake/ghostrider.cmake
xiuyuansoftware d0d9c753e7
Some checks failed
Test builds / Windows build (push) Has been cancelled
Test builds / Ubuntu build (push) Has been cancelled
init
2025-10-19 01:20:32 +00:00

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()