Files
CMake/Source
FeRD (Frank Dana) b0be1bd9ca cmake_path: Fix 'GET "foo/.." STEM' result
`cmake_path(GET "foo/.." STEM out)` is supposed to set `out` to `".."`,
the entire `cmake_path(GET "foo/.." FILENAME)` result.

However, the `GetNarrowStem()` logic in `cmCMakePath` was lacking
the `.` and `..` special-casing logic present in other methods.
As a result, it would erroneously trim the second `.` off of a stem
of `..` and return only `.`.

This caused the result of `cmake_path(GET "foo/.." STEM)` to be `"."`.

Making the standard empty-or-.-or-.. checks and bailing out early
fixes the result of `cmCMakePaths{".."}.GetNarrowStem()`.

Fixes: #26235
2024-08-26 09:55:57 -04:00
..
2024-08-21 08:54:14 -04:00
2024-08-15 09:35:37 -04:00
2024-07-29 13:14:41 -04:00
2024-07-30 10:27:03 -04:00
2024-07-30 10:27:03 -04:00
2024-08-21 00:01:38 -04:00
2024-08-02 00:14:57 +02:00
2024-03-08 09:49:03 -05:00
2024-08-13 11:01:13 -04:00
2024-07-03 11:15:45 -04:00
2024-08-19 15:10:34 -04:00
2024-07-29 10:45:02 -04:00
2024-03-17 19:05:37 -04:00
2024-02-09 08:58:46 -05:00