Browse Source

Merge pull request #2 from YacoubBelaoura/patch-1

fix compile error for cnutil on linux
master
The Kevacoin Project 3 years ago committed by GitHub
parent
commit
53b627c264
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      cnutil/CMakeLists.txt

5
cnutil/CMakeLists.txt

@ -4,7 +4,7 @@ project(assembler C ASM) @@ -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} @@ -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…
Cancel
Save