Commit 3b55581
committed
[CMake] Set
Set `CMAKE_OSX_SYSROOT` only when the host system is Apple macO, because
otherwise we don't need it and the `xcrun` executable that is used to
figure out this variable is not available.
Like this, we avoid configuration failues when building ROOT is built
for Darwin in general.
This mimics what was done in CMake before version 4.0:
https://gitlab.kitware.com/search?search=xcrun&nav_source=navbar&project_id=541&group_id=415&search_code=true&repository_ref=v3.31.6
Follows up on 6bd0dba and ebc38bd.CMAKE_OSX_SYSROOT only when the host system is Apple macOS1 parent 962d075 commit 3b55581
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments