[
https://issues.apache.org/jira/browse/THRIFT-5860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17939763#comment-17939763
]
Vyas Ramasubramani commented on THRIFT-5860:
--------------------------------------------
Moving to 3.16 would be one reasonable choice since that is [the minimum on
Ubuntu
20.04|https://packages.ubuntu.com/search?suite=focal&searchon=names&keywords=cmake]
and that is somewhat representative of that generation of distros.
> cmake 3.5 as a minimum version does not work with cmake 4.0.0
> -------------------------------------------------------------
>
> Key: THRIFT-5860
> URL: https://issues.apache.org/jira/browse/THRIFT-5860
> Project: Thrift
> Issue Type: Dependency upgrade
> Components: Build Process
> Affects Versions: 0.21.0, 0.22.0
> Reporter: Alessandro Bellina
> Priority: Major
>
> With the recent release of cmake 4.0.0
> ([https://github.com/kitware/cmake/releases)] we noticed an error is now
> preventing us from building thrift:
> {code:java}
> [exec] CMake Error at CMakeLists.txt:20 (cmake_minimum_required):
> [exec] Compatibility with CMake < 3.5 has been removed from CMake.
> [exec]
> [exec] Update the VERSION argument <min> value. Or, use the
> <min>...<max> syntax
> [exec] to tell CMake that the project requires at least <min> but has
> been updated
> [exec] to work with policies introduced by <max> or earlier.
> [exec]
> [exec] Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring
> anyway. {code}
> We would like to know if thrift could move to something above 3.5 with the
> next release, so we can build with cmake 4.0.0.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)