Skip to content

Commit

Permalink
if building example bump up the acceptable Boost version to please sp…
Browse files Browse the repository at this point in the history
…mm/TA
  • Loading branch information
evaleev committed Sep 6, 2024
1 parent c9069ff commit 48bd8c9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cmake/modules/ExternalDependenciesVersions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 48bd8c9

Please sign in to comment.