PowerShell / PowerShell/PowerShell-Native
libpsl-native build fails with CMake 4.0
オープン
まだ誰も着手していません。
- 主要言語
- C++
- スター
- 68
- フォーク
- 46
- 平均マージ
- 3日 4時間
- マージ済み PR(30日)
- 1
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
CMakeLists.txt:1 から始め、GNU/Linux 上で CMake 4.0 を使用して設定の失敗を再現します。サポート対象の CMake 互換性に合わせてプロジェクト設定を更新し、その後、CMake 4.0 で libpsl-native のビルドが成功することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cmake, cpp
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 45/100