⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@guitargeek
Copy link
Contributor

Follows up on #20996, implementing suggestions by @hageboeck.

This should not be necessary. If one of the tutorials needs to use the
ROOT executables, the consistent way to do it that should be to prepend
`gROOT->GetBinDir()`.

Now that the `PATH` is not set anymore for non-Windows platforms, the
CMake code can also be simplified a bit.
Getting the ROOT executable explicitly from the CMake target is safer in
case other ROOT installations are available on the system.
Copy link
Member

@hageboeck hageboeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but better to check the behaviour of the cmake_path function.

@guitargeek
Copy link
Contributor Author

Thanks! I studied the behavior of cmake_path locally with several printouts for some cases, and it works as intended to build these colon-separated paths (I trust it that it will correctly use semicolons on Windows 🙂 ).

@guitargeek guitargeek merged commit fae818e into root-project:master Jan 23, 2026
28 of 29 checks passed
@guitargeek guitargeek deleted the tutorials branch January 23, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants