libpsl-native build fails with CMake 4.0
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- cmake, cpp
- 领域
- build-system
调研方向
从 CMakeLists.txt:1 开始,在 GNU/Linux 上使用 CMake 4.0 重现配置失败。更新项目配置以适配受支持的 CMake 兼容性,然后验证 libpsl-native 的构建能够通过 CMake 4.0。
由索引模型根据 Issue 内容生成。
描述
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Steps to reproduce
Hi,
I'm building libpsl-native using CMake 4.0 and it's currently failing with:
2025/06/25 04:26:24 WARN CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
2025/06/25 04:26:24 WARN Compatibility with CMake < 3.5 has been removed from CMake.
2025/06/25 04:26:24 WARN
2025/06/25 04:26:24 WARN Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
2025/06/25 04:26:24 WARN to tell CMake that the project requires at least <min> but has been updated
2025/06/25 04:26:24 WARN to work with policies introduced by <max> or earlier.
2025/06/25 04:26:24 WARN
2025/06/25 04:26:24 WARN Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
This removal has been documented in CMake 4.0's release notes.
Thanks.
Expected behavior
Build passes.
Actual behavior
Build fails.
Error details
Environment data
GNU/Linux system
CMake 4.0
Version
7.4.0
Visuals
No response
- 主要语言
- C++
- 星标
- 68
- 派生
- 46
- 平均合并
- 3 天 4 小时
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PowerShell/PowerShell-Native 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 55/100
PowerShell/PowerShell-Native#116 ·
-
难度 5/5 一周以上 新手友好度 25/100
PowerShell/PowerShell-Native#76 · 2 条评论 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 52/100
PowerShell/PowerShell-Native#65 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 35/100
PowerShell/PowerShell-Native#31 · 5 条评论 · 1 个 reaction ·
查看 PowerShell/PowerShell-Native 的全部 Issue
相似的 Issue
-
AuTest Bug Tests
难度 2/5 1-3 小时 新手友好度 78/100
apache/trafficserver#13714 ·
-
bug build
难度 2/5 1-3 小时 新手友好度 88/100
facebookincubator/velox#19143 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 68/100
tenstorrent/tt-metal#57393 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
objectionary/eo-graphs#74 ·