Skip to content

Commit

Permalink
Quench warnings from deprecated boost headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluescarni committed Dec 19, 2020
1 parent 0839bfe commit eb07b10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ target_link_libraries(pagmo PUBLIC Threads::Threads)

# Boost.
target_link_libraries(pagmo PUBLIC Boost::boost Boost::serialization)
# NOTE: quench warnings from Boost when building the library.
target_compile_definitions(pagmo PRIVATE BOOST_ALLOW_DEPRECATED_HEADERS)

# TBB.
# NOTE: TBB is a private dependency because
Expand Down

0 comments on commit eb07b10

Please sign in to comment.