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.
cwd=tmpdir.name
intry_configure()
for higher compatibility because-B <path-to-build>
was added in CMake version 3.13. This however leads to unexpected results when we pass relative paths as arguments because such paths become relative to the temporary directory, not cwd of shell.tools_directory
containing CMake downloaded binaries is by default created relatively to current working directory instead of being placed in the root directory of the repository which would make more sense.Thanks to the proposed changes the following call becomes possible: