Fixed GhostRider build.
This commit is contained in:
parent
571bc798f4
commit
f99554858b
3 changed files with 4 additions and 7 deletions
|
@ -43,7 +43,6 @@ set(WITH_CRYPTONOTE ON)
|
||||||
set(WITH_CRYPTO_OPS ON)
|
set(WITH_CRYPTO_OPS ON)
|
||||||
set(WITH_COM ON)
|
set(WITH_COM ON)
|
||||||
set(WITH_EVENTS OFF)
|
set(WITH_EVENTS OFF)
|
||||||
set(WITH_GHOSTRIDER OFF)
|
|
||||||
|
|
||||||
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/src/base/cmake" "${CMAKE_SOURCE_DIR}/cmake")
|
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/src/base/cmake" "${CMAKE_SOURCE_DIR}/cmake")
|
||||||
set(LIBS base)
|
set(LIBS base)
|
||||||
|
@ -170,6 +169,7 @@ include_directories(src/3rdparty)
|
||||||
include(randomx)
|
include(randomx)
|
||||||
include(argon2)
|
include(argon2)
|
||||||
include(kawpow)
|
include(kawpow)
|
||||||
|
include(ghostrider)
|
||||||
include(asm)
|
include(asm)
|
||||||
|
|
||||||
if (WITH_EMBEDDED_CONFIG)
|
if (WITH_EMBEDDED_CONFIG)
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
if (WITH_GHOSTRIDER)
|
if (WITH_GHOSTRIDER)
|
||||||
add_definitions(/DXMRIG_ALGO_GHOSTRIDER)
|
|
||||||
add_subdirectory(src/crypto/ghostrider)
|
add_subdirectory(src/crypto/ghostrider)
|
||||||
set(GHOSTRIDER_LIBRARY ghostrider)
|
list(APPEND LIBS ghostrider)
|
||||||
else()
|
|
||||||
remove_definitions(/DXMRIG_ALGO_GHOSTRIDER)
|
|
||||||
set(GHOSTRIDER_LIBRARY "")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
cmake_minimum_required(VERSION 2.8.12)
|
cmake_minimum_required(VERSION 3.1)
|
||||||
project(GhostRider)
|
project(GhostRider)
|
||||||
|
|
||||||
set(HEADERS
|
set(HEADERS
|
||||||
|
@ -80,6 +80,7 @@ endif()
|
||||||
|
|
||||||
include_directories(.)
|
include_directories(.)
|
||||||
include_directories(../..)
|
include_directories(../..)
|
||||||
|
include_directories(../../base)
|
||||||
include_directories(${UV_INCLUDE_DIR})
|
include_directories(${UV_INCLUDE_DIR})
|
||||||
|
|
||||||
add_library(ghostrider STATIC ${HEADERS} ${SOURCES})
|
add_library(ghostrider STATIC ${HEADERS} ${SOURCES})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue