mirror of
https://github.com/kvazar-network/keva-stratum.git
synced 2025-01-13 08:37:57 +00:00
fix compile error for cnutil on linux
fix compile error for cnutil on linux "undefined reference to `boost::chrono::steady_clock::now()'"
This commit is contained in:
parent
f94a49c24f
commit
a81ec4f3c9
@ -4,7 +4,7 @@ project(assembler C ASM)
|
||||
set(CXXLIB "cnutil")
|
||||
|
||||
find_package(OpenSSL REQUIRED)
|
||||
find_package(Boost COMPONENTS thread system program_options date_time filesystem REQUIRED)
|
||||
find_package(Boost COMPONENTS thread system program_options date_time chrono filesystem REQUIRED)
|
||||
|
||||
# Flags
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -D_GNU_SOURCE -maes")
|
||||
@ -85,6 +85,7 @@ target_link_libraries(${CXXLIB}
|
||||
${Boost_SYSTEM_LIBRARY}
|
||||
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
||||
${Boost_DATE_TIME_LIBRARY}
|
||||
${Boost_CHRONO_LIBRARY}
|
||||
${Boost_FILESYSTEM_LIBRARY}
|
||||
OpenSSL::SSL
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user