Repository navigation
Fix the Vita build's configure errors with CMake 4.5 - #942
Merged
Merged
Conversation
The ubuntu-latest runners now come with CMake 4.5, which deprecates the make_directory command and warns when an external project uses the default configure command without an install prefix. The CI configures with -Werror=dev, so both stopped the Vita job. The shaders now use file(MAKE_DIRECTORY), and psp2cxml-tool gets its install prefix explicitly, which is what CMake 4.5 picks by default. The tool isn't installed, so its build is unchanged.
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Vita CI job fails at the configure step since the ubuntu-latest runners moved to CMake 4.5. The CI configures with
-Werror=dev, and CMake 4.5 reports two new developer warnings in the Vita build:make_directoryis deprecated in favor offile(MAKE_DIRECTORY)(gxm shaders).ExternalProject_Add(psp2cxml_tool)uses the default configure command without an install prefix (policy CMP0225, Vita config tool).The shaders now use
file(MAKE_DIRECTORY), and psp2cxml-tool gets-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>, which is what CMake 4.5 sets by default. Passing the prefix ourselves keeps the behavior the same on older CMake versions, and the tool isn't installed anyway (INSTALL_COMMAND "").Checked with a minimal project using the same two constructs: CMake 4.5.1 with
-Werror=devfails with both errors before and configures cleanly after, CMake 4.3.4 also configures cleanly, and the external project still builds.The msys2 mingw64 and MSVC (x64) jobs fail here for unrelated reasons, fixed in #943 and #944.
🤖 Generated with Claude Code
https://claude.ai/code/session_0179vyTGZwyMZgoazji12e2B