Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

Clean up command line arguments processing #1160

Merged
merged 8 commits into from May 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -11,5 +11,6 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Reconnecting with mining pool improved [[#1135](https://github.com/ethereum-mining/ethminer/pull/1135)].
- Stratum nicehash. Avoid recalculating target with every job [[#1156](https://github.com/ethereum-mining/ethminer/pull/1156)].
- Drop duplicate stratum jobs (pool bug workaround) [[#1161](https://github.com/ethereum-mining/ethminer/pull/1161)].
- CLI11 command line parsing support added [[#1160](https://github.com/ethereum-mining/ethminer/pull/1160)].
### Removed
- Disabled Debug configuration for Visual Studio [[#69](https://github.com/ethereum-mining/ethminer/issues/69)] [[#1131](https://github.com/ethereum-mining/ethminer/pull/1131)].
5 changes: 4 additions & 1 deletion ethminer/CMakeLists.txt
Expand Up @@ -10,7 +10,10 @@ file(GLOB HEADERS "*.h")

add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS})

target_link_libraries(ethminer PRIVATE ethcore poolprotocols devcore ethminer-buildinfo)
hunter_add_package(CLI11)
find_package(CLI11 CONFIG REQUIRED)

target_link_libraries(ethminer PRIVATE ethcore poolprotocols devcore ethminer-buildinfo CLI11::CLI11)

if(ETHDBUS)
find_package(PkgConfig)
Expand Down