You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2025/04/27 20:20:00 UTC
[jira] [Resolved] (THRIFT-5860) cmake 3.5 as a minimum version does not work with cmake 4.0.0
[ https://issues.apache.org/jira/browse/THRIFT-5860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer resolved THRIFT-5860.
--------------------------------
Fix Version/s: 0.22.0
Assignee: Jens Geyer
Resolution: Fixed
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: Jens Geyer
> 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)