Skip to content

Commit

Permalink
fix issue with boost timer and chrono order
Browse files Browse the repository at this point in the history
  • Loading branch information
limbo018 committed Oct 27, 2019
1 parent 5afccad commit 7b50373
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ message("-- LIMBO_BINARY_DIR ${LIMBO_BINARY_DIR}")
find_package(ZLIB REQUIRED)
# first try to find static libraries, then try to find dynamic ones
set(Boost_USE_STATIC_LIBS ON)
find_package(Boost 1.55.0 COMPONENTS chrono timer graph)
find_package(Boost 1.55.0 COMPONENTS timer chrono graph)
if (NOT Boost_FOUND)
set(Boost_USE_STATIC_LIBS OFF)
find_package(Boost 1.55.0 REQUIRED COMPONENTS chrono timer graph)
find_package(Boost 1.55.0 REQUIRED COMPONENTS timer chrono graph)
endif (NOT Boost_FOUND)
message("-- Boost_INCLUDE_DIRS = ${Boost_INCLUDE_DIRS}")
find_package(Gurobi)
Expand Down

0 comments on commit 7b50373

Please sign in to comment.