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. 3
      cnutil/CMakeLists.txt

3
cnutil/CMakeLists.txt

@ -4,7 +4,7 @@ project(assembler C ASM)
set(CXXLIB "cnutil") set(CXXLIB "cnutil")
find_package(OpenSSL REQUIRED) 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 # Flags
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -D_GNU_SOURCE -maes") 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_SYSTEM_LIBRARY}
${Boost_PROGRAM_OPTIONS_LIBRARY} ${Boost_PROGRAM_OPTIONS_LIBRARY}
${Boost_DATE_TIME_LIBRARY} ${Boost_DATE_TIME_LIBRARY}
${Boost_CHRONO_LIBRARY}
${Boost_FILESYSTEM_LIBRARY} ${Boost_FILESYSTEM_LIBRARY}
OpenSSL::SSL OpenSSL::SSL
) )
Loading…
Cancel
Save