diff --git a/cmake/modules/FindOrFetchBoost.cmake b/cmake/modules/FindOrFetchBoost.cmake index 6bb749e9f5..7c82b4f736 100644 --- a/cmake/modules/FindOrFetchBoost.cmake +++ b/cmake/modules/FindOrFetchBoost.cmake @@ -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