cmake: raise the bundled-dependency policy floor to 3.10 #975
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!975
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/975/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Nawid3333 on GitHub · 2026-10-02 13:52 UTC · original
Nawid3333:cmake/deps-policy-floor→main· +1 −1 · 1 files · 1 commits · merged 2026-10-03 13:24 UTCWith CMake 4.x every configure prints two deprecation warnings from the bundled dependencies (
zydis-src/CMakeLists.txt:1and itsdependencies/zycore/CMakeLists.txt:5): both declarecmake_minimum_required(VERSION 3.9), and compatibility with CMake < 3.10 is deprecated. The top-level CMakeLists pinsCMAKE_POLICY_VERSION_MINIMUMto 3.5 for the bundled projects, which does not lift them past that threshold; raising the floor to 3.10 does, without touching the bundled sources.One line, configure-time only, same effect on Windows, Linux and macOS. Existing build directories keep the cached 3.5 until reconfigured with
-U CMAKE_POLICY_VERSION_MINIMUMor a fresh cache.Testing (Windows 11, clang-cl 19.1.5, CMake 4.4.3, Ninja):
main(684330c, 2026-10-02): applies cleanly, fresh configure succeeds with 0 warnings.virtual_memory_allocation_testsbuilds and links zydis/xbyak;ctest -R "^guest_red_zone_patcher$"passes.AI use disclosure (per the README's AI policy): an AI assistant prepared the change and ran the verification configures; the diff and the test runs were reviewed and repeated locally before submission.
🤖 Generated with Claude Code
@coderabbitai[bot] on GitHub · 2026-10-02 13:59 UTC · original
Navigate logical layers of code changes, visualize relationships, and explore their blast radius.
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID:
57be4d31-b122-4ded-85c3-0982a5ad7667📥 Commits
Reviewing files that changed from the base of the PR and between
e317465d8aandc1d221728c.📒 Files selected for processing (1)
CMakeLists.txtIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
📝 Walkthrough
Walkthrough
When CMake is 4.0 or newer, the cached
CMAKE_POLICY_VERSION_MINIMUMvalue changes from3.5to3.10. The condition and cache behavior remain unchanged.Suggested reviewers:
cosmoPriority: ⬇️ Low
Change: Other
Merge Risk: ⚪ Minimal · up to
c1d22The policy-floor update is bounded to CMake 4.0 and no merge-blocking issue is identified; proceed with normal configure and build checks.
Architecture Summary
Architecture risk: 🔵 Low · up to
c1d22The change affects 1 system.
Changed systems:
CMakeLists.txtArchitecture concerns
No architecture-level concerns identified.
Review details
Systems and components
Before / after behavior
3.5to3.10; it remains a cached string with the same description.🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands.