[
https://issues.apache.org/jira/browse/THRIFT-5860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17947655#comment-17947655
]
Jens Geyer edited comment on THRIFT-5860 at 4/27/25 8:20 PM:
-------------------------------------------------------------
Thanks Vyas Ramasubramani
was (Author: jensg):
Thanks [Vyas Ramasubramani|https://github.com/vyasr]
> 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
> Assignee: Vyas Ramasubramani
> Priority: Major
> Fix For: 0.22.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)