Complete rebranding of all components: - Core miner: xmrig -> miner (binary, version.h, CMakeLists.txt) - Proxy: xmrig-proxy -> miner-proxy - CUDA plugin: xmrig-cuda -> miner-cuda - Heatmap: xmrig-nonces-heatmap -> miner-nonces-heatmap - Go CLI wrapper: miner-cli -> miner-ctrl Vendored XMRig ecosystem into miner/ directory: - miner/core - XMRig CPU/GPU miner - miner/proxy - Stratum proxy - miner/cuda - NVIDIA CUDA plugin - miner/heatmap - Nonce visualization tool - miner/config - Configuration UI - miner/deps - Pre-built dependencies Updated dev fee to use project wallet with opt-out (kMinimumDonateLevel=0) Updated branding to Lethean (domain, copyright, version 0.1.0) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
28 lines
694 B
CMake
28 lines
694 B
CMake
if (WITH_TLS)
|
|
set(OPENSSL_ROOT_DIR ${XMRIG_DEPS})
|
|
|
|
if (WIN32)
|
|
set(OPENSSL_USE_STATIC_LIBS TRUE)
|
|
set(OPENSSL_MSVC_STATIC_RT TRUE)
|
|
elseif (APPLE)
|
|
set(OPENSSL_USE_STATIC_LIBS TRUE)
|
|
endif()
|
|
|
|
find_package(OpenSSL)
|
|
|
|
if (OPENSSL_FOUND)
|
|
include_directories(${OPENSSL_INCLUDE_DIR})
|
|
|
|
if (WIN32)
|
|
list(APPEND OPENSSL_LIBRARIES Crypt32)
|
|
endif()
|
|
else()
|
|
message(FATAL_ERROR "OpenSSL NOT found: use `-DWITH_TLS=OFF` to build without TLS support")
|
|
endif()
|
|
|
|
add_definitions(/DXMRIG_FEATURE_TLS)
|
|
else()
|
|
set(TLS_SOURCES "")
|
|
set(OPENSSL_LIBRARIES "")
|
|
remove_definitions(/DXMRIG_FEATURE_TLS)
|
|
endif()
|