From 48bd8c9e58254fec66e853ba84f154832e0fdd52 Mon Sep 17 00:00:00 2001 From: Eduard Valeyev Date: Fri, 6 Sep 2024 14:32:15 -0400 Subject: [PATCH] if building example bump up the acceptable Boost version to please spmm/TA --- cmake/modules/ExternalDependenciesVersions.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cmake/modules/ExternalDependenciesVersions.cmake b/cmake/modules/ExternalDependenciesVersions.cmake index f2d48b233..dec4c56f3 100644 --- a/cmake/modules/ExternalDependenciesVersions.cmake +++ b/cmake/modules/ExternalDependenciesVersions.cmake @@ -9,4 +9,9 @@ set(TTG_TRACKED_BTAS_TAG 4e8f5233aa7881dccdfcc37ce07128833926d3c2) set(TTG_TRACKED_TILEDARRAY_TAG 8af44bdff51697de114219fea88db28ca10666e9) # need Boost.CallableTraits (header only, part of Boost 1.66 released in Dec 2017) for wrap.h to work -set(TTG_OLDEST_BOOST_VERSION 1.66) +# BUT if will be building examples, inherit the oldest version from the pickiest Boost consumer (TA and/or BSPMM) +if (TTG_EXAMPLES) + set(TTG_OLDEST_BOOST_VERSION 1.81) +else() + set(TTG_OLDEST_BOOST_VERSION 1.66) +endif()