Skip to content

Commit

Permalink
[CMake] Update for Ubuntu 20.04
Browse files Browse the repository at this point in the history
explicitly require Boost::chrono
  • Loading branch information
Fuzzbawls committed Mar 1, 2023
1 parent 59e4c1a commit ac6bf5a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ find_package(GMP REQUIRED)
find_package(ZMQ)
find_package(Miniupnp)
find_package(NAT-PMP)
find_package(Boost COMPONENTS system filesystem thread REQUIRED)
find_package(Boost COMPONENTS system filesystem chrono thread REQUIRED)
find_package(Sodium REQUIRED)

# run autogen.sh if missing header files from configure on Linux/Mac
Expand Down
2 changes: 1 addition & 1 deletion src/bench/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.14)
set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(Boost_USE_STATIC_LIBS ON)
find_package(Boost COMPONENTS system filesystem thread unit_test_framework REQUIRED)
find_package(Boost COMPONENTS system filesystem chrono thread unit_test_framework REQUIRED)

set(RAW_TEST_FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/block2680960.raw)

Expand Down
2 changes: 1 addition & 1 deletion src/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.14)
set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(Boost_USE_STATIC_LIBS ON)
find_package(Boost COMPONENTS system filesystem thread unit_test_framework REQUIRED)
find_package(Boost COMPONENTS system filesystem chrono thread unit_test_framework REQUIRED)

set(JSON_TEST_FILES
${CMAKE_CURRENT_SOURCE_DIR}/data/script_tests.json
Expand Down

0 comments on commit ac6bf5a

Please sign in to comment.