Update to new version of boost

This commit is contained in:
PabloVD 2024-12-03 14:13:48 +01:00
parent e6d4f385ef
commit 87ab12f179
2 changed files with 8 additions and 2 deletions

View File

@ -168,10 +168,16 @@ carla_dependency_option (BOOST_LOCALE_WITH_ICU OFF)
carla_dependency_option (BOOST_LOCALE_WITH_ICONV OFF)
carla_dependency_option (BOOST_GIL_BUILD_EXAMPLES OFF)
carla_dependency_option (BOOST_GIL_BUILD_HEADER_TESTS OFF)
set (BOOST_DOWNLOAD_URL https://github.com/boostorg/boost/releases/download/${CARLA_BOOST_TAG}/${CARLA_BOOST_TAG}.zip)
if (${CARLA_BOOST_VERSION} VERSION_GREATER 1.84.0)
set (BOOST_DOWNLOAD_URL https://github.com/boostorg/boost/releases/download/${CARLA_BOOST_TAG}/${CARLA_BOOST_TAG}-cmake.zip)
endif ()
carla_dependency_add(
boost
${CARLA_BOOST_TAG}
https://github.com/boostorg/boost/releases/download/${CARLA_BOOST_TAG}/${CARLA_BOOST_TAG}.zip
${BOOST_DOWNLOAD_URL}
https://github.com/boostorg/boost.git
)

View File

@ -237,7 +237,7 @@ carla_string_option (
carla_string_option (
CARLA_BOOST_VERSION
"Target boost version."
1.84.0
1.86.0
)
carla_string_option (