1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-06-12 00:40:45 +08:00
Craig Scott afa1d0d0e3
CMakeGUI: Sanitize source and build dirs the same as command line
This makes a difference when projects compare things like
CMAKE_SOURCE_DIR with CMAKE_CURRENT_SOURCE_DIR and the source
directory has a trailing slash in the GUI. The command line cmake invocation
cleans the paths at the beginning, so such comparisons return true. But the
GUI currently passes the paths unmodified, so such comparisons return false.
Change the logic to sanitize the paths used through the GUI in the same way
that the command line invocation does.

Fixes: #21421
2024-06-01 17:34:27 +10:00
..
2019-01-25 09:14:51 -05:00
2019-01-25 09:14:51 -05:00
2019-01-25 09:14:51 -05:00
2018-08-16 11:56:08 -04:00
2018-08-16 11:56:08 -04:00
2019-01-25 09:14:51 -05:00
2019-01-25 09:14:51 -05:00