Presets: sourceDirName expands to an empty string when source dir contains trailing slash
When source directory ends with the slash, which is the case for the GUI by default, ${sourceDirName} expands to an empty string. CMake version 3.28.3.
When source directory ends with the slash, which is the case for the GUI by default, ${sourceDirName} expands to an empty string. CMake version 3.28.3.