Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions cmake/modules/FindOrFetchBoost.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ if (BOOST_ROOT OR BOOST_INCLUDEDIR)
endif()

# Check for Boost
# - require version 1.68 where Boost.Test preconditions work correctly (see https://svn.boost.org/trac10/ticket/12095)
find_package(Boost ${TA_TRACKED_BOOST_VERSION} QUIET CONFIG)
find_package(Boost ${TA_TRACKED_BOOST_VERSION} QUIET)

if (TARGET Boost::boost)
message(STATUS "Found Boost CONFIG at ${Boost_CONFIG}")
message(STATUS "Found Boost ${Boost_VERSION}: ${Boost_INCLUDE_DIRS}")
else (TARGET Boost::boost)
include (FetchContent)
cmake_minimum_required (VERSION 3.14.0) # for FetchContent_MakeAvailable
Expand Down