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
-
難度 2/5 1-3 小時 新手友好度 70/100
-
難度 2/5 1-3 小時 新手友好度 65/100
duckdb/duckdb-wasm#2258 ·
-
難度 2/5 1-3 小時 新手友好度 75/100
objectionary/eo-graphs#75 ·
-
Coarray integration tests carry no LABELS, so run_tests.py silently skips them under every backend 未關閉coarray
難度 2/5 1-3 小時 新手友好度 70/100
-
難度 2/5 1-3 小時 新手友好度 75/100
FISCO-BCOS/FISCO-BCOS#5642 ·